From 7ff46708bdbed43b7d48a31772f3dd1ace6d7a80 Mon Sep 17 00:00:00 2001 From: Orestis Malaspinas <orestis.malaspinas@hesge.ch> Date: Mon, 13 May 2019 13:18:12 +0200 Subject: [PATCH] updated makefile --- lib/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/Makefile b/lib/Makefile index 27b77fe..b7230a9 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -6,11 +6,11 @@ LIBS = -lSDL2 lbm: lbm.o gfx.o $(CC) $(FLAGS) $(OPT) $^ -o $@ $(LIBS) $(SANITIZERS) -lbm.o: lbm.c gfx.h +lbm.o: lbm.c gfx.h point.h $(CC) $(FLAGS) $(OPT) $^ -c -gfx.o: gfx.c gfx.h +gfx.o: gfx.c gfx.h point.h $(CC) $(FLAGS) $(OPT) $< -c clean: - rm -f lbm *.o \ No newline at end of file + rm -f lbm *.o *.gch -- GitLab