shithub: renderfs

ref: 53dcc34e34cca4453017bae72c0944f2fe1c93fb
dir: /mkfile/

View raw version
</$objtype/mkfile

BIN=/$objtype/bin
TARG=renderfs
OFILES=\
	fs.$O\

LIB=\
	libobj/libobj.a$O\
	libgraphics/libgraphics.a$O\

</sys/src/cmd/mkone

libgraphics/libgraphics.a$O:
	cd libgraphics
	mk install

libobj/libobj.a$O:
	cd libobj
	mk install

pulldeps:VQ:
	git/clone git://antares-labs.eu/libobj || \
	git/clone git://shithub.us/rodri/libobj || \
	git/clone https://github.com/sametsisartenep/libobj
	git/clone git://antares-labs.eu/libgraphics || \
	git/clone https://github.com/sametsisartenep/libgraphics
	@{cd libgraphics; mk $target}

clean nuke:V:
	rm -f *.[$OS] [$OS].out $TARG
	@{cd libgraphics; mk $target}
	@{cd libobj; mk $target}

uninstall:V:
	rm -f $BIN/$TARG