summaryrefslogtreecommitdiff
path: root/.Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to '.Makefile.inc')
-rw-r--r--.Makefile.inc8
1 files changed, 5 insertions, 3 deletions
diff --git a/.Makefile.inc b/.Makefile.inc
index 3afbf67a8..c753bda94 100644
--- a/.Makefile.inc
+++ b/.Makefile.inc
@@ -9,8 +9,10 @@
CC = @CC@
MAKE = @MAKEPROG@
PROGS = inspircd
-FLAGS = @FLAGS@
-DEBUG = @DEVELOPER@
+NICEFLAGS = @FLAGS@
+FLAGS = $(NICEFLAGS) -pedantic
+NICEDEBUG = @DEVELOPER@
+DEBUG = $(NICEDEBUG) -pedantic
LDLIBS = @LDLIBS@
BASE = $(DESTDIR)@BASE_DIR@
CONPATH = $(DESTDIR)@CONFIG_DIR@
@@ -38,7 +40,7 @@ debug:
@echo "* experiencing problems. *"
@echo "* *"
@echo "*************************************"
- ${MAKE} -C . 'FLAGS=${DEBUG}' all
+ ${MAKE} -C . 'FLAGS=${DEBUG}' 'NICEFLAGS=${NICEDEBUG}' all
mods:
@echo "Making modules..."