ref: d251f773eae939c6974780509a2d77f45ffa691a
parent: e6d03613b77c1f0df8365f399ddf849d45b36827
author: mkf <mkf@pi>
date: Wed Apr 24 14:53:48 EDT 2024
mkfile: import i thought we had this, but no.
--- /dev/null
+++ b/mkfile
@@ -1,0 +1,21 @@
+</$objtype/mkfile
+CFILES=\
+ engine.c\
+ gui9.c\
+
+DOC=\
+ doc/glendy2.pdf\
+ doc/glendy2.ps\
+ doc/glendy2.txt\
+
+OFILES=${CFILES:%.c=%.$O}
+HFILES=engine.h
+BIN=/$objtype/bin
+CLEANFILES= doc/*.ps doc/*.pdf
+
+doc: $DOC
+ nroff -man doc/glendy2.man > doc/glendy2.txt
+ troff -man doc/glendy2.man | dpost > doc/glendy2.ps
+ ps2pdf < doc/glendy2.ps > doc/glendy2.pdf
+
+</sys/src/cmd/mkone