diff options
Diffstat (limited to 'Swift/QtUI/Makefile.inc')
-rw-r--r-- | Swift/QtUI/Makefile.inc | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/Swift/QtUI/Makefile.inc b/Swift/QtUI/Makefile.inc new file mode 100644 index 0000000..8b0ab30 --- /dev/null +++ b/Swift/QtUI/Makefile.inc @@ -0,0 +1,28 @@ +TARGETS += qt +CLEAN_TARGETS += clean-qt + +ifeq ($(WIN32),1) +QT_MAKE=nmake +else +QT_MAKE=$(MAKE) +endif + + +.PHONY: qt +qt: Swift/QtUI/Makefile Swiften/Swiften.a $(BUNDLED_LIBS) + cd Swift/QtUI && $(QT_MAKE) + +.PHONY: clean-qt +clean-qt: + if [ -f "Swift/QtUI/Makefile" ]; then \ + cd Swift/QtUI && $(QT_MAKE) clean; \ + fi + +Swift/QtUI/Makefile: Swift/QtUI/DefaultTheme.qrc Swift/QtUI/Swiften.pri + cd Swift/QtUI && $(QMAKE) Swift.pro + +Swift/QtUI/Swiften.pri: + cd Swift/QtUI && ./qmakeish.py ../../Makefile > Swiften.pri + +Swift/QtUI/DefaultTheme.qrc: + cd Swift/QtUI && ../../tools/ThemeQRC.py ../../resources/themes/Default > DefaultTheme.qrc |