diff options
author | Remko Tronçon <git@el-tramo.be> | 2009-06-07 08:22:15 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2009-06-07 08:22:15 (GMT) |
commit | eca5d80455308f9314bd793dc54f432a0994ea99 (patch) | |
tree | bec49c56d8d89954a6c79f170adc2ef08e7e94bc /UI/Qt | |
parent | ad0f3588a1afeba7425025012266910930be4d01 (diff) | |
download | swift-contrib-eca5d80455308f9314bd793dc54f432a0994ea99.zip swift-contrib-eca5d80455308f9314bd793dc54f432a0994ea99.tar.bz2 |
Call 'nmake' for UI/Qt from toplevel makefile on Windows.
Diffstat (limited to 'UI/Qt')
-rw-r--r-- | UI/Qt/Makefile.inc | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/UI/Qt/Makefile.inc b/UI/Qt/Makefile.inc index b4ac936..143f744 100644 --- a/UI/Qt/Makefile.inc +++ b/UI/Qt/Makefile.inc @@ -1,18 +1,28 @@ TARGETS += qt CLEAN_TARGETS += clean-qt +ifeq ($(WIN32),1) +QT_MAKE=nmake +else +QT_MAKE=$(MAKE) +endif + + .PHONY: qt qt: UI/Qt/Makefile - $(MAKE) -C UI/Qt + cd UI/Qt && $(QT_MAKE) .PHONY: clean-qt clean-qt: if [ -f "UI/Qt/Makefile" ]; then \ - $(MAKE) -C UI/Qt clean; \ + cd UI/Qt && $(QT_MAKE) clean; \ fi -UI/Qt/Makefile: UI/Qt/DefaultTheme.qrc +UI/Qt/Makefile: UI/Qt/DefaultTheme.qrc UI/Qt/Swiften.pri cd UI/Qt && $(QMAKE) Swift.pro +UI/Qt/Swiften.pri: + cd UI/Qt && ./qmakeish.py ../../Makefile > Swiften.pri + UI/Qt/DefaultTheme.qrc: cd UI/Qt && ../../tools/ThemeQRC.py ../../resources/themes/Default > DefaultTheme.qrc |