We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e6bccc commit 2eeeafcCopy full SHA for 2eeeafc
1 file changed
unix/Makefile
@@ -97,3 +97,15 @@ include ../py/mkrules.mk
97
test: $(PROG) ../tests/run-tests
98
$(eval DIRNAME=$(notdir $(CURDIR)))
99
cd ../tests && MICROPY_MICROPYTHON=../$(DIRNAME)/$(PROG) ./run-tests
100
+
101
+# install micropython in /usr/local/bin
102
+TARGET = micropython
103
+PREFIX = $(DESTDIR)/usr/local
104
+BINDIR = $(PREFIX)/bin
105
106
+install: micropython
107
+ install -D $(TARGET) $(BINDIR)/$(TARGET)
108
109
+# uninstall micropython
110
+uninstall:
111
+ -rm $(BINDIR)/$(TARGET)
0 commit comments