mirror of
https://github.com/micropython/micropython.git
synced 2026-01-06 12:10:13 +01:00
added install/uninstall
This commit is contained in:
@@ -97,3 +97,15 @@ include ../py/mkrules.mk
|
||||
test: $(PROG) ../tests/run-tests
|
||||
$(eval DIRNAME=$(notdir $(CURDIR)))
|
||||
cd ../tests && MICROPY_MICROPYTHON=../$(DIRNAME)/$(PROG) ./run-tests
|
||||
|
||||
# install micropython in /usr/local/bin
|
||||
TARGET = micropython
|
||||
PREFIX = $(DESTDIR)/usr/local
|
||||
BINDIR = $(PREFIX)/bin
|
||||
|
||||
install: micropython
|
||||
install -D $(TARGET) $(BINDIR)/$(TARGET)
|
||||
|
||||
# uninstall micropython
|
||||
uninstall:
|
||||
-rm $(BINDIR)/$(TARGET)
|
||||
|
||||
Reference in New Issue
Block a user