mirror of
https://github.com/UzixLS/zx-sizif-xxs.git
synced 2025-07-19 07:11:28 +03:00
22 lines
365 B
Makefile
22 lines
365 B
Makefile
export PATH:=/cygdrive/c/Hwdev/sjasmplus/:/cygdrive/c/Dev/srec/:${PATH}
|
|
|
|
REV=D
|
|
SJOPTS=-DSIZIFXXS -DREV_${REV}
|
|
|
|
.PHONY: all clean .FORCE
|
|
.FORCE:
|
|
|
|
all: main.bin
|
|
|
|
clean:
|
|
rm -f *.bin *.mem *.hex *.map *.sna
|
|
|
|
%.bin: %.asm .FORCE
|
|
sjasmplus ${SJOPTS} $<
|
|
%.mem: %.bin
|
|
srec_cat $< -binary -o $@ -vmem 8
|
|
%.hex: %.bin
|
|
srec_cat $< -binary -o $@ -intel
|
|
|
|
test: main_test.bin
|