aboutsummaryrefslogtreecommitdiff
path: root/mkfile
diff options
context:
space:
mode:
authorrodri <rgl@antares-labs.eu>2021-03-06 17:11:47 +0000
committerrodri <rgl@antares-labs.eu>2021-03-06 17:11:47 +0000
commit5ecc14e07c5dcc40e418f450f0c34dceb7f7e326 (patch)
treed916d6934cc119c192cae31d6b791d8b94e14421 /mkfile
downloadgamephysics-5ecc14e07c5dcc40e418f450f0c34dceb7f7e326.tar.gz
gamephysics-5ecc14e07c5dcc40e418f450f0c34dceb7f7e326.tar.bz2
gamephysics-5ecc14e07c5dcc40e418f450f0c34dceb7f7e326.zip
implemented three integrators and a simple time stepping model.
Diffstat (limited to 'mkfile')
-rw-r--r--mkfile27
1 files changed, 27 insertions, 0 deletions
diff --git a/mkfile b/mkfile
new file mode 100644
index 0000000..5c8fdf6
--- /dev/null
+++ b/mkfile
@@ -0,0 +1,27 @@
+</$objtype/mkfile
+
+BIN=/$objtype/bin/games
+TARG=physics
+OFILES=\
+ alloc.$O\
+ main.$O\
+
+HFILES=\
+ dat.h\
+ fns.h\
+ 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}