summaryrefslogtreecommitdiff
path: root/lib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Makefile')
-rw-r--r--lib/Makefile6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/Makefile b/lib/Makefile
index 5e4f4b3..07c3e36 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -53,10 +53,6 @@ ifdef SYSD_NOTIFY
CFLAGS += $(shell pkg-config --cflags libsystemd-daemon)
endif
-ifdef DEBUG
- CFLAGS += -ggdb -O0
-endif
-
CFLAGS += $(shell mysql_config --include)
DEFINES += $(USES)
@@ -88,7 +84,7 @@ cppchk:
%.o: %.c
@echo Compile "$(*F)" ...
- $(doCompile) $(*F).c -o $@
+ $(doCompile) -O3 $(INCLUDES) -o $@ $<
#--------------------------------------------------------
# dependencies