diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-01-28 17:37:09 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-01-28 17:37:09 +0000 |
commit | 5b657c3cf09db0f07626e6e86ab60aae55668f56 (patch) | |
tree | 3687ff92104a053edb41a63c31f7690ed420fa73 /.Makefile.inc | |
parent | 8703e1b36af0167a8141e7071e386e4bbbfd0331 (diff) |
Added 'make debug' which does 'make all' with -g rather than -O2 -g1.
To correct your config for this new feature, ./configure -modupdate.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6452 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to '.Makefile.inc')
-rw-r--r-- | .Makefile.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.Makefile.inc b/.Makefile.inc index d1e464aaa..54b50e0c7 100644 --- a/.Makefile.inc +++ b/.Makefile.inc @@ -11,6 +11,7 @@ CC = @CC@ MAKE = @MAKEPROG@ PROGS = inspircd FLAGS = @FLAGS@ +DEBUG = @DEVELOPER@ LDLIBS = @LDLIBS@ BASE = $(DESTDIR)@BASE_DIR@ CONPATH = $(DESTDIR)@CONFIG_DIR@ @@ -22,6 +23,9 @@ STATICLIBS = @STATICLIBS@ INSTMODE = 0700 MAKEARGS = 'PROGS=${PROGS}' 'FLAGS=${FLAGS}' 'CC=${CC}' 'LDLIBS=${LDLIBS}' 'MODULES=${MODULES}' 'MODPATH=${MODPATH}' 'LIBPATH=${LIBPATH}' 'STATICLIBS=${STATICLIBS}' 'INSTMODE=${INSTMODE}' +debug: + ${MAKE} -C . 'FLAGS=${DEBUG}' all + all : @MAKEORDER@ finishmessage mods: |