# No editable content below this line
###########################################################
+QTDIR=$(shell $(QMAKE) -query QT_INSTALL_PREFIX)
+QTBIN=$(shell $(QMAKE) -query QT_INSTALL_BINS)
+
all: dist
wob: woc
cd pack/qtbase && $(QMAKE) $(QOPT)
cd pack/qtbase && $(MAKE)
-dist: client
+#script stuff: depends on generated CPP files
+script: qtscript/generated_cpp
+ cd qtscript/qtbindings && $(QMAKE) && $(MAKE) release
+
+#generated script plugins: depend on Qt version
+qtscript/generated_cpp: $(QTBIN)/qmake.exe
+ cd qtscript/generator && $(QMAKE) && $(MAKE)
+ cd qtscript/generator && set QTDIR=$(QTDIR) && ./generator
+
+dist: script client
echo !define QTDIR \ >qtpath.nsh
$(QMAKE) -query QT_INSTALL_PREFIX >>qtpath.nsh
$(NSIS) $(NOPT) smoke.nsi
# No editable content below this line
###########################################################
-all: server client
+QTDIR=$(shell $(QMAKE) -query QT_INSTALL_PREFIX)
+QTBIN=$(shell $(QMAKE) -query QT_INSTALL_BINS)
+
+all: script server client
wob: woc
cd wob ; ../pack/woc/woc magicsmoke.wolf
zip:
cd zip ; $(QMAKE) && $(MAKE)
+#script stuff: depends on generated CPP files
+script: qtscript/generated_cpp
+ cd qtscript/qtbindings && $(QMAKE) && $(MAKE)
+
+#generated script plugins: depend on Qt version
+qtscript/generated_cpp: $(QTBIN)/qmake
+ cd qtscript/generator && $(QMAKE) && $(MAKE)
+ cd qtscript/generator && QTDIR=$(QTDIR) ./generator
+
dist:
@echo Distribution not implemented yet
distclean: clean
#tell Make that the rules above are symbolic:
-.PHONY: woc wob server client sdoc zip wbase clean distclean
+.PHONY: script woc wob server client sdoc zip wbase clean distclean