Fixed debug target

This commit is contained in:
Łukasz Magiera 2016-02-09 17:35:49 +01:00
parent a4747a5ac2
commit 247e10e20c

View File

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