Commit Diff


commit - b6e626605be30152bc6afbf4ffe799e5ff54fd06
commit + ba6fce32893606652799c6750081e82b9d0ae169
blob - 7a2c00f776abbf5ae59b70913ff94d3ae97fc1e4
blob + b932100cb3639a58f808de635b601315bd6e4c80
--- Makefile
+++ Makefile
@@ -1,5 +1,6 @@
 .POSIX:
 
+PREFIX = /usr/local
 LDFLAGS = -g -no-pie
 
 all: rvforth
@@ -22,5 +23,6 @@ test: rvforth
 clean:
 	rm -f rvforth *.core
 
-
-
+install: rvforth
+	mkdir -p ${DESTDIR}${PREFIX}/bin
+	cp -f rvforth ${DESTDIR}${PREFIX}/bin/