polyadvent

A game engine from scratch in C
git clone git://jb55.com/polyadvent
Log | Files | Refs | README

commit 35e19b4b274c6f598649b7814de65c678b1462c9
parent a288c4b3a2ad849b34b65dd6a5ce16fce599cfc8
Author: William Casarin <jb55@jb55.com>
Date:   Mon, 27 Apr 2020 21:49:49 -0700

fix horrible bug

Diffstat:
MMakefile | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile @@ -32,7 +32,7 @@ TOOLS = tools/compile-model all: $(BIN) $(MODELS) clean: - rm -f src/main.o test/*.o tools/*.o $(OBJS) $(TESTS) $(TOOLS) $(MODELS) $(SHLIB) $(BIN) $(SRC)/*.d* + rm -f main.o polyadvent.o src/main.o test/*.o tools/*.o $(OBJS) $(TESTS) $(TOOLS) $(MODELS) $(SHLIB) $(BIN) $(SRC)/*.d* %.d: %.c @rm -f $@; \ @@ -40,7 +40,7 @@ clean: sed 's,\(.*\)\.o[ :]*,src/\1.o $@ : ,g' < $@.$$$$ > $@; \ rm -f $@.$$$$ -%.o: %.c +%.o: %.c %.h @echo "cc $<" @$(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $<