shithub: npe

Download patch

ref: 9f6cb195eca648c4aceb93ab6f1f10c902781533
parent: 2b292d4de35874ea46074ab8aa18d71d515d844b
author: Sigrid Solveig Haflínudóttir <ftrvxmtrx@gmail.com>
date: Fri Mar 19 09:42:46 EDT 2021

mkfile: clean up

--- a/mkfile
+++ b/mkfile
@@ -5,23 +5,20 @@
 	libnpe_pthread\
 	libnpe_sdl2\
 
-all clean:VQ:
+default:VQ:
+	mk all
+
+%:VQ:
 	for (i in $LIBS) @{
 		cd $i && mk $target
 	}
 
+nuke:VQ: nukeheaders
+
+install:VQ: installheaders
+
 nukeheaders:VQ:
 	rm -rf /sys/include/npe
 
-nuke:VQ: nukeheaders
-	for (i in $LIBS) @{
-		cd $i && mk $target
-	}
-
 installheaders:VQ:
 	mkdir -p /sys/include/npe && dircp include/npe /sys/include/npe
-
-install:VQ: installheaders
-	for (i in $LIBS) @{
-		cd $i && mk $target
-	}