diff options
Diffstat (limited to 'client/Makefile')
-rw-r--r-- | client/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/client/Makefile b/client/Makefile index eeae6c6..48e0d92 100644 --- a/client/Makefile +++ b/client/Makefile @@ -2,7 +2,7 @@ SRCMODULES = card_handling.c card_stack.c data_decryption.c\ printing_game_frames.c verification_client_input.c client.c OBJMODULES = $(SRCMODULES:.c=.o) CC = gcc -CFLAGS = -Wall -g -c +CFLAGS = -Wall -g -c -D DEBUG all: client @@ -12,7 +12,12 @@ all: client client: $(OBJMODULES) $(CC) $(LIBS) $^ -o $@ +ifneq (clean, $(MAKECMDGOALS)) -include deps.mk +endif deps.mk: $(SRCMODULES) $(CC) -MM $^ > $@ + +clean: + rm -f *.o client |