2016-11-10 04:52:25 +01:00
|
|
|
.PHONY := all code550.bin
|
2016-11-07 02:11:18 +01:00
|
|
|
|
2016-11-10 04:52:25 +01:00
|
|
|
all: WUP-N-DAAP.nds
|
2016-11-07 02:11:18 +01:00
|
|
|
|
2016-11-10 04:52:25 +01:00
|
|
|
code550.bin:
|
|
|
|
@cd hbl_loader && make && cd ..
|
2016-11-07 02:11:18 +01:00
|
|
|
|
2016-11-10 04:52:25 +01:00
|
|
|
haxchi_rop_hook.bin haxchi_rop.bin: code550.bin haxchi_rop.s
|
2016-11-07 02:11:18 +01:00
|
|
|
armips haxchi_rop.s
|
|
|
|
|
2016-11-10 04:52:25 +01:00
|
|
|
WUP-N-DAAP.nds: haxchi_rop_hook.bin haxchi_rop.bin haxchi.s
|
2016-11-07 02:11:18 +01:00
|
|
|
armips haxchi.s
|
2016-11-10 04:52:25 +01:00
|
|
|
zip -JXjq9 rom.zip WUP-N-DAAP.nds
|
2016-11-07 02:11:18 +01:00
|
|
|
|
|
|
|
clean:
|
2016-11-10 04:52:25 +01:00
|
|
|
@rm -f *.bin WUP-N-DAAP.nds rom.zip
|
|
|
|
@cd hbl_loader && make clean && cd ..
|
2016-11-07 02:11:18 +01:00
|
|
|
@echo "all cleaned up !"
|