From 247e10e20ca1a423b6827ed3010f788cebfeff52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Magiera?= Date: Tue, 9 Feb 2016 17:35:49 +0100 Subject: [PATCH] Fixed debug target --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 1d79eb3..dc1a432 100644 --- a/Makefile +++ b/Makefile @@ -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