polyadvent

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

commit 046e3ba072688a64510041578886d564c8322855
parent a9b80ff7b235759f9155c3f2e14a7ef0e042730f
Author: William Casarin <jb55@jb55.com>
Date:   Thu, 27 Jun 2019 23:06:55 -0700

move clean around

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

diff --git a/Makefile b/Makefile @@ -47,11 +47,15 @@ OBJS += $(SRC)/vec3.o OBJS += $(SRC)/scene.o OBJS += $(SRC)/resource.o + SRCS=$(OBJS:.o=.c) all: $(BIN) +clean: + rm -f src/main.o $(OBJS) $(SHLIB) $(BIN) $(SRC)/*.d* + include $(OBJS:.o=.d) %.d: %.c @@ -73,7 +77,4 @@ nixbuild: TAGS: etags $(SRCS) -clean: - rm -f src/main.o $(OBJS) $(SHLIB) $(BIN) $(SRC)/*.d* - .PHONY: TAGS