micro-sci-a2-controller/firmware/Makefile

27 lines
825 B
Makefile
Raw Normal View History

2023-07-16 02:28:35 +00:00
all: util.bin 16.bin 13.bin legend-franklin.bin legend-usci.bin
cat util.bin 16.bin 13.bin legend-franklin.bin > firmware-franklin.bin
cat util.bin 16.bin 13.bin legend-usci.bin > firmware-usci.bin
2023-07-09 20:59:05 +00:00
2023-07-16 02:28:35 +00:00
legend-franklin.bin:
ca65 --target apple2 -o legend-franklin.o legend.s
ld65 --config apple2-asm.cfg -o legend-franklin.bin legend-franklin.o
2023-07-09 20:59:05 +00:00
2023-07-16 02:28:35 +00:00
legend-usci.bin:
ca65 --target apple2 -DMICROSCI -o legend-usci.o legend.s
ld65 --config apple2-asm.cfg -o legend-usci.bin legend-usci.o
util.bin:
ca65 --target apple2 -o util.o util.s
ld65 --config apple2-asm.cfg -o util.bin util.o
13.bin:
ca65 --target apple2 -DSECSIZE_13 -o 13.o firmware.s
ld65 --config apple2-asm.cfg -o 13.bin 13.o
16.bin:
ca65 --target apple2 -DSECSIZE_16 -o 16.o firmware.s
ld65 --config apple2-asm.cfg -o 16.bin 16.o
clean:
rm -f *.o *.bin