Add src/input.c
This commit is contained in:
9
Makefile
9
Makefile
@@ -22,7 +22,7 @@ CFLAGS = \
|
||||
-I./ext/glfw/include \
|
||||
-Wall -Wno-unused-function -std=c89
|
||||
|
||||
all: $(DOC) $(BIN) $(LIB)
|
||||
all: $(BIN) $(LIB)
|
||||
|
||||
$(BIN): $(OBJ) $(LIB)
|
||||
$(CC) -lGL -lglfw -L. -o $(BIN) $(OBJ)
|
||||
@@ -39,10 +39,13 @@ clean:
|
||||
clean-all:
|
||||
rm $(OBJ) $(DOC) $(LIB) $(BIN)
|
||||
|
||||
.SUFFIXES: .ms .pdf .c .o
|
||||
.SUFFIXES: .ms .pdf .html .c .o
|
||||
|
||||
.ms.pdf:
|
||||
cat $< | sed -e "s/^\s*//g" -e "/^$$/d" | groff -Tpdf -fC -ms > $@
|
||||
cat $< | sed -e "s/^\s*//g" -e "/^$$/d" | tbl| groff -Tpdf -fC -ms > $@
|
||||
|
||||
.ms.html:
|
||||
cat $< | sed -e "s/^\s*//g" -e "/^$$/d"| tbl | groff -Thtml -fC -ms > $@
|
||||
|
||||
.c.o:
|
||||
$(CC) $(CFLAGS) $< -c -o $@
|
||||
|
||||
Reference in New Issue
Block a user