summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 675535a..e6c7b57 100644
--- a/Makefile
+++ b/Makefile
@@ -31,7 +31,11 @@ endif
PIDFILE ?= /run/llmnrd/pid
-CFLAGS_MIN := -W -Wall -DVERSION_STRING=\"v$(VERSION)\" -DGIT_VERSION=\"$(GIT_VERSION)\" -DPIDFILE=\"$(PIDFILE)\"
+CFLAGS_MIN := -W -Wall \
+ -DVERSION_STRING=\"v$(VERSION)\" \
+ -DGIT_VERSION=\"$(GIT_VERSION)\" \
+ -DPIDFILE=\"$(PIDFILE)\"
+
ifeq ($(DEBUG), 1)
CFLAGS_MIN += -g -DDEBUG
endif