shithub: purgatorio

ref: 2cab6c0b2f7ccfad3c7990070ab0917cfd978cf1
dir: /appl/demo/lego/mkfile/

View raw version
<../../../mkconfig

TARG=\
		clockface.dis\
		firmdl.dis\
		legolink.dis\
		rcxsend.dis\
		timers.dis\
		styx.srec\

SHTARG=\
		clockreg.sh\

MODULES=\
	rcxsend.m\

SYSMODULES= \
	bufio.m\
	draw.m\
	sys.m\
	timers.m\

DISBIN=$ROOT/dis/demo/lego

<$ROOT/mkfiles/mkdis

$DISBIN/%.srec:	%.srec
	rm -f $target && cp $stem.srec $target

SHFILES=${SHTARG:%.sh=$DISBIN/%}
install:V:	$SHFILES
%.install:V:	$DISBIN/%
%.installall:V:	$DISBIN/%

$DISBIN/%:	%.sh
	cp $stem.sh $target && chmod a+rx $target