petwifi/Makefile

21 lines
349 B
Makefile
Raw Normal View History

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