shithub: purgatorio

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