mirror of
https://github.com/cc65/cc65.git
synced 2024-09-08 16:54:52 +00:00
20 lines
435 B
Makefile
20 lines
435 B
Makefile
|
|
all: chklegal.bin chkillegal.bin
|
|
@#
|
|
|
|
.PHONY: chklegal.bin chkillegal.bin
|
|
|
|
chklegal.bin: legal.s
|
|
../../bin/cl65 --target none --cpu 6502X -o chklegal.bin legal.s
|
|
diff legal.ref chklegal.bin
|
|
|
|
chkillegal.bin: illegal.s
|
|
../../bin/cl65 --target none --cpu 6502X -o chkillegal.bin illegal.s
|
|
|
|
ref: legal.s
|
|
../../bin/cl65 --target none --cpu 6502X -o legal.ref legal.s
|
|
|
|
clean:
|
|
rm -f legal.o chklegal.bin
|
|
rm -f illegal.o chkillegal.bin
|