view Makefile @ 239:a15b3ee791a1

Automated merge with https://xanthippe.duckdns.org/hg/Feedworm
author Dirk Olmes <dirk@xanthippe.ping.de>
date Sat, 25 Apr 2015 04:10:12 +0200
parents a34cb404cef3
children 3ce39af93e77
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
	pyuic4 -o Ui_$@ $<

%_rc.py: %.qrc
	pyrcc4 -o $@ $<

.PHONY: clean
clean:
	rm $(PY_FILES)
	rm *.pyc