blob: 3ae4e89876d865c5cf796379a0f282d0634a2421 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
<../../../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
|