forked from geosim/QAD
-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathMakefile
More file actions
32 lines (20 loc) · 712 Bytes
/
Makefile
File metadata and controls
32 lines (20 loc) · 712 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
###### EDIT #####################
#UI files to compile
#UI_FILES = qad.ui qad_dsettings.ui qad_dimstyle.ui
#Qt resource files to compile
RESOURCES = qad.qrc qad_dsettings.qrc
#################################
# DO NOT EDIT FOLLOWING
#COMPILED_UI = $(UI_FILES:%.ui=%_ui.py)
COMPILED_RESOURCES = $(RESOURCES:%.qrc=%_rc.py)
all : resources
#all : resources ui
resources : $(COMPILED_RESOURCES)
#ui : $(COMPILED_UI)
#%_ui.py : %.ui
# pyuic4 $< -o $@
%_rc.py : %.qrc
pyrcc4 $< -o $@
clean :
#$(RM) $(COMPILED_UI) $(COMPILED_RESOURCES) $(COMPILED_UI:.py=.pyc) $(COMPILED_RESOURCES:.py=.pyc)
$(RM) $(COMPILED_RESOURCES) $(COMPILED_RESOURCES:.py=.pyc)