leaden/Makefile

32 lines
375 B
Makefile
Raw Permalink Normal View History

2020-08-04 23:23:18 +02:00
BIN = leaden
2020-08-18 00:02:17 +02:00
.PHONY: all build clean install uninstall distclean
2020-08-04 23:23:18 +02:00
2020-08-18 00:02:17 +02:00
all: build
build:
pyuic5 -x $(BIN)/ui.ui -o $(BIN)/ui.py
2020-08-04 23:23:18 +02:00
clean:
2020-08-18 00:02:17 +02:00
$(RM) $(BIN)/ui.py
2020-08-04 23:23:18 +02:00
$(RM) -dr $(BIN).egg-info
2020-08-18 00:02:17 +02:00
$(RM) -dr $(BIN)/__pycache__
2020-08-04 23:23:18 +02:00
$(RM) -dr build
$(RM) -dr dist
install:
python setup.py -v install --user
uninstall:
pip uninstall -v -y $(BIN)
distclean: uninstall
distclean: clean