shithub: lu9

Download patch

ref: 921e09906b6ac33850ac6a1fa81c0345df9369ce
parent: 7a2a563300638cc24c337bd3654655478df07358
author: kvik <kvik@a-b.xyz>
date: Sat Feb 6 22:48:00 EST 2021

mkfile: add install target

--- a/mkfile
+++ b/mkfile
@@ -3,6 +3,7 @@
 CFLAGS=-FTVw -p -Ishim -Ilua -Ilpeg -DLUA_USE_PLAN9
 
 TARG=$O.lua
+BIN=/$objtype/bin
 
 OBJS=lua.$O
 
@@ -22,6 +23,9 @@
 	@{cd lua; git/pull}
 	@{cd lpeg; git/pull}
 	@{cd shim; git/pull}
+
+install:V: $TARG
+	cp $TARG $BIN/lua
 
 clean:V:
 	@{cd shim; mk clean}