aboutsummaryrefslogtreecommitdiff
path: root/vmodeled/mkfile
diff options
context:
space:
mode:
Diffstat (limited to 'vmodeled/mkfile')
-rw-r--r--vmodeled/mkfile24
1 files changed, 24 insertions, 0 deletions
diff --git a/vmodeled/mkfile b/vmodeled/mkfile
new file mode 100644
index 0000000..eba7c97
--- /dev/null
+++ b/vmodeled/mkfile
@@ -0,0 +1,24 @@
+</$objtype/mkfile
+
+BIN=/$objtype/bin/musw
+TARG=vmodeled
+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}