summaryrefslogtreecommitdiffstats
blob: b4ac93621c44de6792ae52ec39c198115b4d5cb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
TARGETS += qt
CLEAN_TARGETS += clean-qt

.PHONY: qt
qt: UI/Qt/Makefile
	$(MAKE) -C UI/Qt

.PHONY: clean-qt
clean-qt:
	if [ -f "UI/Qt/Makefile" ]; then \
		$(MAKE) -C UI/Qt clean; \
	fi

UI/Qt/Makefile: UI/Qt/DefaultTheme.qrc
	cd UI/Qt && $(QMAKE) Swift.pro

UI/Qt/DefaultTheme.qrc:
	cd UI/Qt && ../../tools/ThemeQRC.py ../../resources/themes/Default > DefaultTheme.qrc