petwifi/Makefile

19 lines
297 B
Makefile

MACHINE := pet
MEMCFG := mem.cfg
.PHONY: all clean
all: rs232.prg test.prg
clean:
rm -f *.o *.lst *.map *.prg
rs232.prg: driver.o
cl65 -v -C ${MEMCFG} -m rs232.map -o $@ $^
test.prg: test.bas
petcat -w40 -o $@ -- $^
%.o: %.a65
ca65 -v -l $(patsubst %.o,%.lst,$@) -t ${MACHINE} -o $@ $<