petwifi/Makefile
2022-08-19 22:38:18 +02:00

19 lines
314 B
Makefile

MACHINE := pet
.PHONY: all clean
all: rs232.bin rs232.lst
clean:
rm -f rs232.bin *.o *.lst *.map
rs232.bin: driver.o
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 $<
%.o: %.a65
ca65 -v -t ${MACHINE} -o $@ $<