summaryrefslogtreecommitdiff
path: root/mkfile
diff options
context:
space:
mode:
Diffstat (limited to 'mkfile')
-rw-r--r--mkfile24
1 files changed, 24 insertions, 0 deletions
diff --git a/mkfile b/mkfile
new file mode 100644
index 0000000..d6883d8
--- /dev/null
+++ b/mkfile
@@ -0,0 +1,24 @@
+</$objtype/mkfile
+
+BIN=/$objtype/bin/musw
+TARG=tinyrend
+OFILES=\
+ main.$O\
+
+HFILES=\
+ ./libgeometry/geometry.h\
+
+LIB=\
+ ./libgeometry/libgeometry.a$O\
+
+CFLAGS=$CFLAGS
+
+</sys/src/cmd/mkone
+
+./libgeometry/libgeometry.a$O:
+ cd ./libgeometry
+ mk install
+
+clean nuke:V:
+ rm -f *.[$OS] [$OS].??* $TARG
+ @{cd ./libgeometry; mk $target}