aboutsummaryrefslogtreecommitdiff
path: root/mkfile
diff options
context:
space:
mode:
authorrodri <rgl@antares-labs.eu>2020-06-09 22:39:37 +0000
committerrodri <rgl@antares-labs.eu>2020-06-09 22:39:37 +0000
commit6572c456f7cdf6f8aaaf361e618b41816084a7ae (patch)
tree26f1fbccbcff272f9b8207bf36d584c4c476a54b /mkfile
downloadboids-6572c456f7cdf6f8aaaf361e618b41816084a7ae.tar.gz
boids-6572c456f7cdf6f8aaaf361e618b41816084a7ae.tar.bz2
boids-6572c456f7cdf6f8aaaf361e618b41816084a7ae.zip
initial commit. first stages of simulation, per-second steps avoiding the jail bars.
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..ecdffae
--- /dev/null
+++ b/mkfile
@@ -0,0 +1,24 @@
+</$objtype/mkfile
+
+BIN=/$objtype/bin/games
+TARG=boids
+OFILES=\
+ main.$O\
+
+HFILES=\
+ libgeometry/geometry.h\
+
+LIB=\
+ libgeometry/libgeometry.a$O\
+
+CFLAGS=$CFLAGS -Ilibgeometry
+
+</sys/src/cmd/mkone
+
+libgeometry/libgeometry.a$O:
+ cd libgeometry
+ mk install
+
+clean nuke:V:
+ rm -f *.[$OS] [$OS].??* $TARG
+ @{cd libgeometry; mk $target}