Mercurial > hg > Feedworm
annotate Makefile @ 253:8b1678851b54
merge the pyqt5 branch into the default branch
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Fri, 10 Nov 2017 01:45:36 +0100 |
parents | 39080a271bf3 |
children |
rev | line source |
---|---|
14 | 1 |
252 | 2 UI_FILES = $(wildcard *.ui) |
3 UI_PY_FILES = $(UI_FILES:%.ui=Ui_%.py) | |
41
9fa1e33b67da
use Qt resources for window icons
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
14
diff
changeset
|
4 RC_FILES = $(patsubst %.qrc, %_rc.py, $(wildcard *.qrc)) |
14 | 5 |
252 | 6 all: $(UI_PY_FILES) $(RC_FILES) |
14 | 7 |
252 | 8 Ui_%.py: %.ui |
9 pyuic5 -o $@ $< | |
14 | 10 |
41
9fa1e33b67da
use Qt resources for window icons
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
14
diff
changeset
|
11 %_rc.py: %.qrc |
251 | 12 pyrcc5 -o $@ $< |
41
9fa1e33b67da
use Qt resources for window icons
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
14
diff
changeset
|
13 |
14 | 14 .PHONY: clean |
15 clean: | |
252 | 16 rm $(UI_PY_FILES) |
17 rm $(RC_FILES) | |
14 | 18 rm *.pyc |