annotate Makefile @ 259:304917762618 default tip

implementation of feed updates
author Dirk Olmes <dirk@xanthippe.ping.de>
date Tue, 12 Mar 2019 02:41:22 +0100
parents 39080a271bf3
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
14
42a225be7e56 first version of the GUI
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
1
252
39080a271bf3 fix the makefile
Dirk Olmes <dirk@xanthippe.ping.de>
parents: 251
diff changeset
2 UI_FILES = $(wildcard *.ui)
39080a271bf3 fix the makefile
Dirk Olmes <dirk@xanthippe.ping.de>
parents: 251
diff changeset
3 UI_PY_FILES = $(UI_FILES:%.ui=Ui_%.py)
41
9fa1e33b67da use Qt resources for window icons
Dirk Olmes <dirk@xanthippe.ping.de>
parents: 14
diff changeset
4 RC_FILES = $(patsubst %.qrc, %_rc.py, $(wildcard *.qrc))
14
42a225be7e56 first version of the GUI
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
5
252
39080a271bf3 fix the makefile
Dirk Olmes <dirk@xanthippe.ping.de>
parents: 251
diff changeset
6 all: $(UI_PY_FILES) $(RC_FILES)
14
42a225be7e56 first version of the GUI
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
7
252
39080a271bf3 fix the makefile
Dirk Olmes <dirk@xanthippe.ping.de>
parents: 251
diff changeset
8 Ui_%.py: %.ui
39080a271bf3 fix the makefile
Dirk Olmes <dirk@xanthippe.ping.de>
parents: 251
diff changeset
9 pyuic5 -o $@ $<
14
42a225be7e56 first version of the GUI
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
10
41
9fa1e33b67da use Qt resources for window icons
Dirk Olmes <dirk@xanthippe.ping.de>
parents: 14
diff changeset
11 %_rc.py: %.qrc
251
3ce39af93e77 Update to PyQt5
Dirk Olmes <dirk@xanthippe.ping.de>
parents: 235
diff changeset
12 pyrcc5 -o $@ $<
41
9fa1e33b67da use Qt resources for window icons
Dirk Olmes <dirk@xanthippe.ping.de>
parents: 14
diff changeset
13
14
42a225be7e56 first version of the GUI
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
14 .PHONY: clean
42a225be7e56 first version of the GUI
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
15 clean:
252
39080a271bf3 fix the makefile
Dirk Olmes <dirk@xanthippe.ping.de>
parents: 251
diff changeset
16 rm $(UI_PY_FILES)
39080a271bf3 fix the makefile
Dirk Olmes <dirk@xanthippe.ping.de>
parents: 251
diff changeset
17 rm $(RC_FILES)
14
42a225be7e56 first version of the GUI
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
18 rm *.pyc