nlroff -> markdown
This commit is contained in:
9
Makefile
9
Makefile
@@ -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 $@
|
||||
|
||||
Reference in New Issue
Block a user