petwifi/Makefile

20 lines
297 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
all: rs232.prg test.prg
2022-08-19 22:38:18 +02:00
clean:
rm -f *.o *.lst *.map *.prg
2022-08-22 19:00:42 +02:00
rs232.prg: 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
test.prg: test.bas
petcat -w40 -o $@ -- $^
%.o: %.a65
2022-08-20 17:37:42 +02:00
ca65 -v -l $(patsubst %.o,%.lst,$@) -t ${MACHINE} -o $@ $<