summaryrefslogtreecommitdiff
path: root/.Makefile.inc
diff options
context:
space:
mode:
authoraquanight <aquanight@e03df62e-2008-0410-955e-edbf42e46eb7>2008-01-19 16:58:18 +0000
committeraquanight <aquanight@e03df62e-2008-0410-955e-edbf42e46eb7>2008-01-19 16:58:18 +0000
commit37283ce7b325fc5d7bbdbf03513ccdd9463762d5 (patch)
tree39d9c4d1cb251f40fdf271f0a98df6120186022f /.Makefile.inc
parentc9a61d686d9c4716f86adf0746128e3f81142657 (diff)
Modules using NoPedantic now properly respect 'make debug'.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8737 e03df62e-2008-0410-955e-edbf42e46eb7
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..."