Started work on Ember
This commit is contained in:
19
Makefile
Normal file
19
Makefile
Normal file
@ -0,0 +1,19 @@
|
||||
RESOURCES=$(shell find . -name '*.qrc')
|
||||
RESOURCES_OUT=$(RESOURCES:.qrc=_rc.py)
|
||||
|
||||
UI=$(shell find . -name '*.ui')
|
||||
UI_OUT=$(UI:.ui=_ui.py)
|
||||
|
||||
all: $(RESOURCES_OUT) $(UI_OUT)
|
||||
|
||||
clean:
|
||||
rm ${UI_OUT}
|
||||
rm ${RESOURCES_OUT}
|
||||
|
||||
%_rc.py: %.qrc
|
||||
pyrcc5 $< -o $@
|
||||
|
||||
%_ui.py: %.ui
|
||||
pyuic5 $< -o $@
|
||||
|
||||
.PHONY: all clean
|
Reference in New Issue
Block a user