diff Makefile @ 14:42a225be7e56

first version of the GUI
author Dirk Olmes <dirk@xanthippe.ping.de>
date Wed, 28 Apr 2010 02:36:00 +0200
parents
children 9fa1e33b67da
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Makefile	Wed Apr 28 02:36:00 2010 +0200
@@ -0,0 +1,13 @@
+
+# find all .ui files and generate corresponding filenames ending in .py
+PY_FILES = $(patsubst %.ui, %.py, $(wildcard *.ui))
+
+all: $(PY_FILES)
+
+%.py: %.ui
+	pyuic4 -o $@ $<
+
+.PHONY: clean
+clean:
+	rm $(PY_FILES)
+	rm *.pyc