micro-sci-a2-controller/firmware/Makefile
2023-07-29 06:32:37 +09:00

27 lines
873 B
Makefile

all: technician.bin 16.bin 13.bin splash-franklin.bin splash-usci.bin
cat technician.bin 16.bin 13.bin splash-franklin.bin > firmware-franklin.bin
cat technician.bin 16.bin 13.bin splash-usci.bin > firmware-usci.bin
splash-franklin.bin:
ca65 --target apple2 -o splash-franklin.o splash.s
ld65 --config apple2-asm.cfg -o splash-franklin.bin splash-franklin.o
splash-usci.bin:
ca65 --target apple2 -DMICROSCI -o splash-usci.o splash.s
ld65 --config apple2-asm.cfg -o splash-usci.bin splash-usci.o
technician.bin:
ca65 --target apple2 -o technician.o technician.s
ld65 --config apple2-asm.cfg -o technician.bin technician.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