shithub: qk2

Download patch

ref: 0302531d06e788f955362a73e24984b441f7b885
parent: 3ebd884ebb70433445614272d81f29ea66b90c75
author: qwx <qwx@sciops.net>
date: Tue Jul 20 09:54:44 EDT 2021

mkfiles: system-wide install

--- a/mkfile
+++ b/mkfile
@@ -74,7 +74,7 @@
 	fns.h\
 	rand1k.h\
 
-BIN=$home/bin/$objtype
+BIN=/$objtype/bin/games
 </sys/src/cmd/mkone
 
 CFLAGS=-FTVw -I$GAME
--- a/mkfile.crbot
+++ b/mkfile.crbot
@@ -74,7 +74,7 @@
 	fns.h\
 	rand1k.h\
 
-BIN=$home/bin/$objtype
+BIN=/$objtype/bin/games
 </sys/src/cmd/mkone
 
 CFLAGS=-FTVw -I$GAME
--- a/mkfile.ctf
+++ b/mkfile.ctf
@@ -74,7 +74,7 @@
 	fns.h\
 	rand1k.h\
 
-BIN=$home/bin/$objtype
+BIN=/$objtype/bin/games
 </sys/src/cmd/mkone
 
 CFLAGS=-FTVw -I$GAME
--- a/mkfile.rogue
+++ b/mkfile.rogue
@@ -74,7 +74,7 @@
 	fns.h\
 	rand1k.h\
 
-BIN=$home/bin/$objtype
+BIN=/$objtype/bin/games
 </sys/src/cmd/mkone
 
 CFLAGS=-FTVw -I$GAME
--- a/mkfile.xatrix
+++ b/mkfile.xatrix
@@ -74,7 +74,7 @@
 	fns.h\
 	rand1k.h\
 
-BIN=$home/bin/$objtype
+BIN=/$objtype/bin/games
 </sys/src/cmd/mkone
 
 CFLAGS=-FTVw -I$GAME