Mercurial > hg > Feedworm
view Makefile @ 252:39080a271bf3 pyqt5
fix the makefile
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Sun, 05 Nov 2017 02:49:14 +0100 |
parents | 3ce39af93e77 |
children |
line wrap: on
line source
UI_FILES = $(wildcard *.ui) UI_PY_FILES = $(UI_FILES:%.ui=Ui_%.py) RC_FILES = $(patsubst %.qrc, %_rc.py, $(wildcard *.qrc)) all: $(UI_PY_FILES) $(RC_FILES) Ui_%.py: %.ui pyuic5 -o $@ $< %_rc.py: %.qrc pyrcc5 -o $@ $< .PHONY: clean clean: rm $(UI_PY_FILES) rm $(RC_FILES) rm *.pyc