shithub: battleship

ref: b555a1ad730994a42cfecf88bba15ece20d1e6f9
dir: /mkfile/

View raw version
</$objtype/mkfile

MAN=/sys/man/1
BIN=/$objtype/bin/games
TARG=\
	bts\
	btsd\

OFILES=\
	alloc.$O\
	parse.$O\
	util.$O\
	andy.$O\
	menulist.$O\
	mixer.$O\
	sprite.$O\
	vfx.$O\

HFILES=\
	dat.h\
	fns.h\
	mixer.h\

ASSETDIR=/sys/games/lib/battleship

</sys/src/cmd/mkmany

install:V:
	for(i in $TARG)
		mk $MKFLAGS $i.install
	mkdir -p $ASSETDIR
	dircp assets $ASSETDIR
	cp bts.man $MAN/battleship

uninstall:V:
	for(i in $TARG)
		rm -f $BIN/$i
	rm -f $MAN/battleship
	rm -rf $ASSETDIR