shithub: purgatorio

ref: c116550e6a41572796e4db65e4f6acbcb3d9d6f8
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