aboutsummaryrefslogtreecommitdiff
path: root/mkfile
diff options
context:
space:
mode:
authorrodri <rgl@antares-labs.eu>2021-07-28 22:15:15 +0000
committerrodri <rgl@antares-labs.eu>2021-07-28 22:15:15 +0000
commit9942eb201a657640cf244b261008b850352a29f3 (patch)
tree43ffc43f9c3fd9dd6e45e835cea0a87381ae16da /mkfile
parentd85705bf67be2a23e3d928f9670732be5484f958 (diff)
downloadmusw-9942eb201a657640cf244b261008b850352a29f3.tar.gz
musw-9942eb201a657640cf244b261008b850352a29f3.tar.bz2
musw-9942eb201a657640cf244b261008b850352a29f3.zip
brought the Sprite struct for future animations.
implemented per-party game state and dynamics. now the state is broadcast after integration, not before. fixed a bug in the broadcast procedure where it would keep referencing an already freed Party and its players. implemented a proper Keymap the user will be able to configure. added mkfile rules to manage installation and dependencies. defined a ton of structs in dat.h for new game objects. started work on a general vector model abstraction to define ship `skins'. removed some debug clauses we no longer need. fixed some other ones.
Diffstat (limited to 'mkfile')
-rw-r--r--mkfile19
1 files changed, 19 insertions, 0 deletions
diff --git a/mkfile b/mkfile
index c9c09ff..7b27036 100644
--- a/mkfile
+++ b/mkfile
@@ -1,5 +1,6 @@
</$objtype/mkfile
+MAN=/sys/man/1
BIN=/$objtype/bin/games
TARG=\
musw\
@@ -17,4 +18,22 @@ HFILES=\
dat.h\
fns.h\
+LIB=\
+ libgeometry/libgeometry.a$O\
+
</sys/src/cmd/mkmany
+
+libgeometry/libgeometry.a$O: pulldeps
+ cd libgeometry
+ mk install
+
+pulldeps:V:
+ ! test -d libgeometry && git/clone https://github.com/sametsisartenep/libgeometry || echo >/dev/null
+
+install:V: man
+
+uninstall:V:
+ for(i in $TARG){
+ rm -f $BIN/$i
+ rm -f $MAN/$i
+ }