mirror of
https://github.com/cc65/cc65.git
synced 2024-08-28 02:29:22 +00:00
26 lines
720 B
Makefile
26 lines
720 B
Makefile
|
|
all: chklegal.bin chkillegal.bin chkall.bin
|
|
@#
|
|
|
|
.PHONY: chklegal.bin chkillegal.bin chkall.bin
|
|
|
|
chklegal.bin: legal.s
|
|
../../bin/cl65 --target none --cpu 6502X -o chklegal.bin legal.s
|
|
diff -q legal.ref chklegal.bin || hex chklegal.bin
|
|
|
|
chkillegal.bin: illegal.s
|
|
../../bin/cl65 --target none --cpu 6502X -o chkillegal.bin illegal.s
|
|
diff -q illegal.ref chkillegal.bin || hex chkillegal.bin
|
|
|
|
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
|
|
../../bin/cl65 --target none --cpu 6502X -o illegal.ref illegal.s
|
|
|
|
clean:
|
|
rm -f legal.o chklegal.bin
|
|
rm -f illegal.o chkillegal.bin
|
|
rm -f all.o chkall.bin
|