Rev 1 | Rev 9 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
# $Id: Makefile 3 2024-08-28 09:19:04Z nishi $
.PHONY: all clean
all: shiroi.rom
shiroi.rom: shiroi.bin font.bin
cat shiroi.bin font.bin > shiroi.rom
shiroi.bin: Discard/shiroi.ihx
makebin -s 22528 Discard/shiroi.ihx shiroi.bin
font.bin: Discard/font.ihx
makebin -s 2048 Discard/font.ihx font.bin
Discard/shiroi.ihx: shiroi.c
mkdir -p Discard
sdcc -mz80 -o Discard/shiroi.ihx --data-loc 0x8000 --idata-loc 0x8000 --code-loc 0 --stack-loc 0x9000 --no-std-crt0 --nostdinc --nostdlib shiroi.c
Discard/font.ihx: font.asm
mkdir -p Discard
sdasz80 -o Discard/font.rel font.asm
sdldz80 -i $@ Discard/font.rel
clean:
rm -rf Discard *.o *.bin *.rom