Skip to content
Snippets Groups Projects
Commit 7ff46708 authored by orestis.malaspin's avatar orestis.malaspin
Browse files

updated makefile

parent be2f2a09
Branches
No related tags found
No related merge requests found
...@@ -6,11 +6,11 @@ LIBS = -lSDL2 ...@@ -6,11 +6,11 @@ LIBS = -lSDL2
lbm: lbm.o gfx.o lbm: lbm.o gfx.o
$(CC) $(FLAGS) $(OPT) $^ -o $@ $(LIBS) $(SANITIZERS) $(CC) $(FLAGS) $(OPT) $^ -o $@ $(LIBS) $(SANITIZERS)
lbm.o: lbm.c gfx.h lbm.o: lbm.c gfx.h point.h
$(CC) $(FLAGS) $(OPT) $^ -c $(CC) $(FLAGS) $(OPT) $^ -c
gfx.o: gfx.c gfx.h gfx.o: gfx.c gfx.h point.h
$(CC) $(FLAGS) $(OPT) $< -c $(CC) $(FLAGS) $(OPT) $< -c
clean: clean:
rm -f lbm *.o rm -f lbm *.o *.gch
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment