nlroff -> markdown

This commit is contained in:
PedroEdiaz
2024-09-19 08:58:36 +06:00
parent cb525a1f20
commit 86ad43c2dc
3 changed files with 122 additions and 318 deletions

View File

@@ -14,16 +14,12 @@ OBJ = \
LIB = \
$(LIBGLFW)
DOC = \
doc/design.html
CFLAGS = \
-I./ext/cglm/include \
-I./ext/glfw/include \
-Wall -Wno-unused-function -std=c89
all: $(BIN) $(LIB)
doc: $(DOC)
$(BIN): $(OBJ) $(LIB)
$(CC) -lGL -lglfw -L. -o $(BIN) $(OBJ)
@@ -40,10 +36,7 @@ clean:
clean-all:
rm $(OBJ) $(DOC) $(LIB) $(BIN)
.SUFFIXES: .nr .html .html .c .o
.nr.html:
cat $< | nlroff > $@
.SUFFIXES: .c .o
.c.o:
$(CC) $(CFLAGS) $< -c -o $@