shithub: puzzles

Download patch

ref: 3a71a567e26efd18a100f0c000c5173f38c99df2
parent: 6d8d86f59a48bbac578a8f446375fd458c91ac87
author: sirjofri <sirjofri@sirjofri.de>
date: Fri May 24 09:57:48 EDT 2024

adds compilation note to README, adds npe build rule

--- a/README
+++ b/README
@@ -9,6 +9,17 @@
   cmake .
   cmake --build .
 
+On Plan 9, the system is built using mk and npe. To compile in the
+simplest way possible, first install the latest npe version (note:
+this installs the latest version of npe, which can be buggy. It is
+best to install a working version of npe manually):
+
+  mk npe
+
+Then compile the puzzles:
+
+  mk all
+
 The manual is provided in Windows Help format for the Windows build;
 in text format for anyone who needs it; and in HTML for the Mac OS X
 application and for the web site. It is generated from a Halibut
--- a/mkfile
+++ b/mkfile
@@ -100,3 +100,6 @@
 
 auxiliary/hatgen.$O: auxiliary/hatgen.c
 	$CC $CFLAGS -o $target auxiliary/hatgen.c
+
+npe:V:
+	hget https://git.sr.ht/~ft/npe/archive/master.tar.gz | tar xz && cd npe-master && mk install && cd .. && rm -r npe-master