petwifi/Makefile
2022-09-04 10:02:06 +02:00

18 lines
328 B
Makefile

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