shithub: musw

ref: 77d8f3844311c9c43d25b31a91bc1a6ee69d1122
dir: /mkfile/

View raw version
</$objtype/mkfile

MAN=/sys/man/1
BIN=/$objtype/bin/games
TARG=\
	musw\
	muswd\

OFILES=\
	alloc.$O\
	physics.$O\
	nanosec.$O\
	pack.$O\
	lobby.$O\
	party.$O\
	universe.$O\
	sprite.$O\

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
	}