so we can start the emulated console without need for special case in the code, and not adding any copyrighted material in the project. Also automatically copy the stub rom in the build folder.
21 lines
333 B
Makefile
21 lines
333 B
Makefile
.PHONY: all clean
|
|
|
|
all: ws_irom.bin wsc_irom.bin wc_irom.bin
|
|
|
|
clean:
|
|
@echo " RM"
|
|
@rm -f *.bin
|
|
|
|
ws_irom.bin: irom_stub.asm
|
|
@echo " AS $@"
|
|
@nasm $^ -o $@ -DWONDERSWAN=1
|
|
|
|
wsc_irom.bin: irom_stub.asm
|
|
@echo " AS $@"
|
|
@nasm $^ -o $@ -DWONDERSWANCOLOR=1
|
|
|
|
wc_irom.bin: irom_stub.asm
|
|
@echo " AS $@"
|
|
@nasm $^ -o $@ -DSWANCRYSTAL=1
|
|
|