comparison Makefile @ 251:3ce39af93e77 pyqt5

Update to PyQt5
author Dirk Olmes <dirk@xanthippe.ping.de>
date Sun, 22 Oct 2017 03:40:44 +0200
parents a34cb404cef3
children 39080a271bf3
comparison
equal deleted inserted replaced
250:f715378371ab 251:3ce39af93e77
4 RC_FILES = $(patsubst %.qrc, %_rc.py, $(wildcard *.qrc)) 4 RC_FILES = $(patsubst %.qrc, %_rc.py, $(wildcard *.qrc))
5 5
6 all: $(PY_FILES) $(RC_FILES) 6 all: $(PY_FILES) $(RC_FILES)
7 7
8 %.py: %.ui 8 %.py: %.ui
9 pyuic4 -o Ui_$@ $< 9 pyuic5 -o Ui_$@ $<
10 10
11 %_rc.py: %.qrc 11 %_rc.py: %.qrc
12 pyrcc4 -o $@ $< 12 pyrcc5 -o $@ $<
13 13
14 .PHONY: clean 14 .PHONY: clean
15 clean: 15 clean:
16 rm $(PY_FILES) 16 #rm $(PY_FILES)
17 rm *.pyc 17 rm *.pyc