Mercurial > hg > Feedworm
view 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 |
line wrap: on
line source
# find all .ui files and generate corresponding filenames ending in .py PY_FILES = $(patsubst %.ui, %.py, $(wildcard *.ui)) RC_FILES = $(patsubst %.qrc, %_rc.py, $(wildcard *.qrc)) all: $(PY_FILES) $(RC_FILES) %.py: %.ui pyuic5 -o Ui_$@ $< %_rc.py: %.qrc pyrcc5 -o $@ $< .PHONY: clean clean: #rm $(PY_FILES) rm *.pyc