1
0
mirror of https://github.com/UzixLS/zx-sizif-xxs.git synced 2025-07-19 07:11:28 +03:00
Files
zx-sizif-xxs/rom/Makefile
2022-02-01 21:46:43 +03:00

24 lines
660 B
Makefile

# Each bank = 16Kb
bank00=128-0.rom # 0x00000
bank01=128-1.rom # 0x04000
bank02=../rom_src/main.bin ESXMMC.BIN # 0x08000
bank03=48.rom # 0x0C000
bank04=zcen3e0.rom # 0x10000
bank05=zcen3e1.rom # 0x14000
bank06=zcen3e2.rom # 0x18000
bank07=zero8k.bin zero8k.bin # 0x1C000
sizif.rom: ${bank00} ${bank01} ${bank02} ${bank03} ${bank04} ${bank05} ${bank06} ${bank07}
%.rom:
cat $+ > $@
%.hex: %.rom
objcopy --input-target=binary --output-target=ihex $< $@
.DEFAULT_GOAL := all
all: sizif.hex
clean:
rm -f sizif.rom sizif.hex