Fixed debug target

This commit is contained in:
Łukasz Magiera 2016-02-09 17:35:49 +01:00
parent a4747a5ac2
commit 247e10e20c
1 changed files with 3 additions and 2 deletions

View File

@ -28,7 +28,8 @@ OBJECTS := $(patsubst $(SOURCE)/%.c, $(BUILD)%.c.o, $(CFILES))
# Targets
# Pseudo Targets
debug: CFLAGS+= -g
debug: CFLAGS+= -g -DLOGGING -DDEBUG
debug: build
$(BUILDDIRECTORIES):
mkdir -p $@
@ -63,4 +64,4 @@ smallclean:
# Other
.PHONY: clean cleanresourcues resources build smallclean all
.PHONY: debug clean cleanresourcues resources build smallclean all