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
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
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