1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-04 17:04:58 +00:00
cc65/testcode/assembler/Makefile

26 lines
720 B
Makefile
Raw Normal View History

2014-11-19 23:18:12 +00:00
all: chklegal.bin chkillegal.bin chkall.bin
@#
2014-11-19 23:18:12 +00:00
.PHONY: chklegal.bin chkillegal.bin chkall.bin
chklegal.bin: legal.s
../../bin/cl65 --target none --cpu 6502X -o chklegal.bin legal.s
2014-11-19 23:18:12 +00:00
diff -q legal.ref chklegal.bin || hex chklegal.bin
chkillegal.bin: illegal.s
../../bin/cl65 --target none --cpu 6502X -o chkillegal.bin illegal.s
2014-11-19 23:18:12 +00:00
diff -q illegal.ref chkillegal.bin || hex chkillegal.bin
2014-11-19 23:18:12 +00:00
chkall.bin: all.s
../../bin/cl65 --target none --cpu 6502X -o chkall.bin all.s
ref: legal.s illegal.s
../../bin/cl65 --target none --cpu 6502X -o legal.ref legal.s
2014-11-19 23:18:12 +00:00
../../bin/cl65 --target none --cpu 6502X -o illegal.ref illegal.s
clean:
rm -f legal.o chklegal.bin
rm -f illegal.o chkillegal.bin
2014-11-19 23:18:12 +00:00
rm -f all.o chkall.bin