git.ucc.asn.au
/
uccvend-snackrom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ignore crctest
[uccvend-snackrom.git]
/
ROM
/
Makefile
diff --git
a/ROM/Makefile
b/ROM/Makefile
index
a11b1c7
..
c5600d6
100644
(file)
--- a/
ROM/Makefile
+++ b/
ROM/Makefile
@@
-1,32
+1,36
@@
HEXDUMP=xxd
HEXDUMP=xxd
-HEXDUMP=od -A x -x
+
#
HEXDUMP=od -A x -x
.SUFFIXES: .asm .obj
.SUFFIXES: .asm .obj
-all:
vendas11.asm
+all:
as11/vend.asm hex
@true
.asm.obj:
@true
.asm.obj:
- masm $? - bl > $*.listing
+ masm $? -l > $*.listing
+ masm $? -b
-
vendas11
.asm: mapped.asm
+
as11/vend
.asm: mapped.asm
./makeasm.pl $? > $@
./makeasm.pl $? > $@
-64kvend.bin: vend.bin
+
as11/
64kvend.bin: vend.bin
dd if=/dev/zero bs=32768 count=1 of=$@
cat $? >> $@
check: test
@true
dd if=/dev/zero bs=32768 count=1 of=$@
cat $? >> $@
check: test
@true
-test:
vendas11.obj
64kvend.bin
- cmp
vendas11.obj
64kvend.bin
+test:
as11/vend.obj as11/
64kvend.bin
+ cmp
as11/vend.obj as11/
64kvend.bin
-
x1: vendas11
.obj
+
as11/x1: as11/vend
.obj
$(HEXDUMP) $? > $@
$(HEXDUMP) $? > $@
-
x2:
64kvend.bin
+
as11/x2: as11/
64kvend.bin
$(HEXDUMP) $? > $@
$(HEXDUMP) $? > $@
-hex: x1 x2
- diff -u x1 x2
+hex: as11/x1 as11/x2
+ diff -u as11/x1 as11/x2
+
+clean:
+ find as11 -type f -exec rm {} \; -print
UCC
git Repository :: git.ucc.asn.au