2022-08-13 20:45:08 +02:00
|
|
|
|
|
|
|
MACHINE := pet
|
|
|
|
|
2022-08-19 22:38:18 +02:00
|
|
|
.PHONY: all clean
|
2022-08-13 20:45:08 +02:00
|
|
|
|
2022-08-19 22:38:18 +02:00
|
|
|
all: rs232.bin rs232.lst
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f rs232.bin *.o *.lst *.map
|
2022-08-13 20:45:08 +02:00
|
|
|
|
|
|
|
rs232.bin: driver.o
|
2022-08-19 22:38:18 +02:00
|
|
|
cl65 -v -C mem.cfg -l rs232.lst -m rs232.map -o $@ $^
|
|
|
|
|
|
|
|
%.lst: %.bin
|
|
|
|
@# the start address shouldn't be hardcoded here...
|
|
|
|
da65 -o $@ -S 0x7000 $<
|
2022-08-13 20:45:08 +02:00
|
|
|
|
|
|
|
%.o: %.a65
|
2022-08-19 22:38:18 +02:00
|
|
|
ca65 -v -t ${MACHINE} -o $@ $<
|