back to scratko.xyz
aboutsummaryrefslogtreecommitdiff
path: root/server/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'server/Makefile')
-rw-r--r--server/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/server/Makefile b/server/Makefile
index 6fb2c5c..bdae4ff 100644
--- a/server/Makefile
+++ b/server/Makefile
@@ -11,7 +11,12 @@ all: server
server: $(OBJMODULES)
$(CC) $(LIBS) $^ -o $@
+ifneq (clean, $(MAKECMDGOALS))
-include deps.mk
+endif
deps.mk: $(SRCMODULES)
$(CC) -MM $^ > $@
+
+clean:
+ rm -f *.o server