From 9ea1ad710a78674473f181e884ff714be0e9ecbc Mon Sep 17 00:00:00 2001 From: konrad Date: Wed, 1 Dec 2010 21:30:09 +0000 Subject: [PATCH] add debug rule git-svn-id: https://silmor.de/svn/softmagic/smoke/trunk@648 6e3c4bff-ac9f-4ac1-96c5-d2ea494d3e33 --- Makefile.unix | 22 ++++++++++++++-------- 1 files changed, 14 insertions(+), 8 deletions(-) diff --git a/Makefile.unix b/Makefile.unix index d3bfa31..8bc78e6 100644 --- a/Makefile.unix +++ b/Makefile.unix @@ -10,8 +10,11 @@ QMAKE = qmake #eg: #QMAKE = /usr/local/Trolltech/Qt-4.4.3/bin/qmake + +#set this if you want arguments to qmake +QMAKEFLAGS = #if you want to use a non-standard spec use something like this: -#QMAKE = qmake -spec linux-icc-64 +#QMAKEFLAGS = qmake -spec linux-icc-64 #change this if doxygen uses a different name or is not in your PATH DOXYGEN = doxygen @@ -36,24 +39,24 @@ wob: woc cd wob ; ../pack/woc/woc magicsmoke.wolf woc: - cd pack/woc; $(QMAKE) && $(MAKE) + cd pack/woc; $(QMAKE) $(QMAKEFLAGS) && $(MAKE) wbase: - cd pack/qtbase; $(QMAKE) && $(MAKE) + cd pack/qtbase; $(QMAKE) $(QMAKEFLAGS) && $(MAKE) elam: - cd elam/src; $(QMAKE) && $(MAKE) + cd elam/src; $(QMAKE) $(QMAKEFLAGS) && $(MAKE) server: wob client: wob zip wbase tzone elam - cd src ; $(QMAKE) && $(MAKE) + cd src ; $(QMAKE) $(QMAKEFLAGS) && $(MAKE) zip: - cd zip/src ; $(QMAKE) && $(MAKE) + cd zip/src ; $(QMAKE) $(QMAKEFLAGS) && $(MAKE) tzone: - cd tzone ; $(QMAKE) && $(MAKE) + cd tzone ; $(QMAKE) $(QMAKEFLAGS) && $(MAKE) dist: @echo Distribution not implemented yet @@ -112,5 +115,8 @@ clean: distclean: clean +debug: QMAKEFLAGS+=CONFIG+=debug +debug: all + #tell Make that the rules above are symbolic: -.PHONY: script woc wob server client sdoc zip wbase clean distclean tzone +.PHONY: script woc wob server client sdoc zip wbase clean distclean tzone elam debug -- 1.7.2.5