2016-11-28 05:35:13 +01:00
|
|
|
.PHONY := all code550.bin
|
|
|
|
|
|
|
|
ifeq ($(Windows_NT), 1)
|
|
|
|
ZIP = zip/zip.exe
|
|
|
|
else
|
|
|
|
ZIP = zip
|
|
|
|
endif
|
|
|
|
|
2016-12-10 06:11:17 +01:00
|
|
|
ifeq ($(CB), 1)
|
|
|
|
HAXCHI_S = haxchi_cb.s
|
|
|
|
ROP_S = haxchi_rop_cb.s
|
|
|
|
ROP_BIN = haxchi_rop_cb.bin
|
|
|
|
else
|
|
|
|
HAXCHI_S = haxchi.s
|
|
|
|
ROP_S = haxchi_rop.s
|
|
|
|
ROP_BIN = haxchi_rop.bin
|
|
|
|
endif
|
|
|
|
|
2016-12-01 03:32:25 +01:00
|
|
|
all: setup animalcrossing brainage dkjclimber guardiansigns kirby kirbymassattack mariokartds masterofdisguise newsmb_eur partnersintime \
|
|
|
|
pokemonranger sfcommand sm64ds yoshids zeldaph zeldast \
|
|
|
|
animalcrossing.zip brainage.zip dkjclimber.zip guardiansigns.zip kirby.zip kirbymassattack.zip mariokartds.zip masterofdisguise.zip \
|
|
|
|
newsmb_eur.zip partnersintime.zip pokemonranger.zip sfcommand.zip sm64ds.zip yoshids.zip zeldaph.zip zeldast.zip
|
|
|
|
|
|
|
|
animalcrossing: setup_animalcrossing animalcrossing.nds
|
2016-11-28 05:35:13 +01:00
|
|
|
|
|
|
|
brainage: setup_brainage brainage.nds
|
|
|
|
|
|
|
|
dkjclimber: setup_dkjclimber dkjclimber.nds
|
|
|
|
|
2016-12-01 03:32:25 +01:00
|
|
|
guardiansigns: setup_guardiansigns guardiansigns.nds
|
|
|
|
|
2016-11-28 05:35:13 +01:00
|
|
|
kirby: setup_kirby kirby.nds
|
|
|
|
|
|
|
|
kirbymassattack: setup_kirbymassattack kirbymassattack.nds
|
|
|
|
|
2016-11-15 01:49:12 +01:00
|
|
|
mariokartds: setup_mariokartds mariokartds.nds
|
2016-11-28 05:35:13 +01:00
|
|
|
|
|
|
|
masterofdisguise: setup_masterofdisguise masterofdisguise.nds
|
|
|
|
|
|
|
|
newsmb_eur: setup_newsmb_eur newsmb_eur.nds
|
|
|
|
|
|
|
|
partnersintime: setup_partnersintime partnersintime.nds
|
|
|
|
|
2016-12-01 03:32:25 +01:00
|
|
|
pokemonranger: setup_pokemonranger pokemonranger.nds
|
|
|
|
|
2016-11-28 05:35:13 +01:00
|
|
|
sfcommand: setup_sfcommand sfcommand.nds
|
|
|
|
|
|
|
|
sm64ds: setup_sm64ds sm64ds.nds
|
|
|
|
|
|
|
|
yoshids: setup_yoshids yoshids.nds
|
|
|
|
|
|
|
|
zeldaph: setup_zeldaph zeldaph.nds
|
|
|
|
|
|
|
|
zeldast: setup_zeldast zeldast.nds
|
|
|
|
|
|
|
|
setup:
|
|
|
|
@cd option_select && make && cd ..
|
|
|
|
@cd hbl_loader && make && cd ..
|
|
|
|
@cd cfw_booter && make && cd ..
|
2016-12-10 06:11:17 +01:00
|
|
|
@cd CBHC && make && cd ..
|
2016-11-28 05:35:13 +01:00
|
|
|
|
2016-12-01 03:32:25 +01:00
|
|
|
setup_animalcrossing:
|
2016-12-10 06:11:17 +01:00
|
|
|
@rm -f defines.s $(ROP_BIN) haxchi_rop_hook.bin
|
2016-12-01 03:32:25 +01:00
|
|
|
@cp -f animalcrossing_defs.s defines.s
|
|
|
|
|
2016-11-28 05:35:13 +01:00
|
|
|
setup_brainage:
|
2016-12-10 06:11:17 +01:00
|
|
|
@rm -f defines.s $(ROP_BIN) haxchi_rop_hook.bin
|
2016-11-11 06:47:56 +01:00
|
|
|
@cp -f brainage_defs.s defines.s
|
2016-11-28 05:35:13 +01:00
|
|
|
|
|
|
|
setup_dkjclimber:
|
2016-12-10 06:11:17 +01:00
|
|
|
@rm -f defines.s $(ROP_BIN) haxchi_rop_hook.bin
|
2016-11-28 05:35:13 +01:00
|
|
|
@cp -f dkjclimber_defs.s defines.s
|
|
|
|
|
2016-12-01 03:32:25 +01:00
|
|
|
setup_guardiansigns:
|
2016-12-10 06:11:17 +01:00
|
|
|
@rm -f defines.s $(ROP_BIN) haxchi_rop_hook.bin
|
2016-12-01 03:32:25 +01:00
|
|
|
@cp -f guardiansigns_defs.s defines.s
|
|
|
|
|
2016-11-28 05:35:13 +01:00
|
|
|
setup_kirby:
|
2016-12-10 06:11:17 +01:00
|
|
|
@rm -f defines.s $(ROP_BIN) haxchi_rop_hook.bin
|
2016-11-11 06:47:56 +01:00
|
|
|
@cp -f kirby_defs.s defines.s
|
2016-11-28 05:35:13 +01:00
|
|
|
|
|
|
|
setup_kirbymassattack:
|
2016-12-10 06:11:17 +01:00
|
|
|
@rm -f defines.s $(ROP_BIN) haxchi_rop_hook.bin
|
2016-11-28 05:35:13 +01:00
|
|
|
@cp -f kirbymassattack_defs.s defines.s
|
|
|
|
|
|
|
|
setup_mariokartds:
|
2016-12-10 06:11:17 +01:00
|
|
|
@rm -f defines.s $(ROP_BIN) haxchi_rop_hook.bin
|
2016-11-28 05:35:13 +01:00
|
|
|
@cp -f mariokartds_defs.s defines.s
|
|
|
|
|
|
|
|
setup_masterofdisguise:
|
2016-12-10 06:11:17 +01:00
|
|
|
@rm -f defines.s $(ROP_BIN) haxchi_rop_hook.bin
|
2016-11-28 05:35:13 +01:00
|
|
|
@cp -f masterofdisguise_defs.s defines.s
|
|
|
|
|
|
|
|
setup_newsmb_eur:
|
2016-12-10 06:11:17 +01:00
|
|
|
@rm -f defines.s $(ROP_BIN) haxchi_rop_hook.bin
|
2016-11-28 05:35:13 +01:00
|
|
|
@cp -f newsmb_eur_defs.s defines.s
|
|
|
|
|
2016-12-01 03:32:25 +01:00
|
|
|
setup_pokemonranger:
|
2016-12-10 06:11:17 +01:00
|
|
|
@rm -f defines.s $(ROP_BIN) haxchi_rop_hook.bin
|
2016-12-01 03:32:25 +01:00
|
|
|
@cp -f pokemonranger_defs.s defines.s
|
|
|
|
|
2016-11-28 05:35:13 +01:00
|
|
|
setup_partnersintime:
|
2016-12-10 06:11:17 +01:00
|
|
|
@rm -f defines.s $(ROP_BIN) haxchi_rop_hook.bin
|
2016-11-28 05:35:13 +01:00
|
|
|
@cp -f partnersintime_defs.s defines.s
|
|
|
|
|
|
|
|
setup_sfcommand:
|
2016-12-10 06:11:17 +01:00
|
|
|
@rm -f defines.s $(ROP_BIN) haxchi_rop_hook.bin
|
2016-11-28 05:35:13 +01:00
|
|
|
@cp -f sfcommand_defs.s defines.s
|
|
|
|
|
|
|
|
setup_sm64ds:
|
2016-12-10 06:11:17 +01:00
|
|
|
@rm -f defines.s $(ROP_BIN) haxchi_rop_hook.bin
|
2016-11-28 05:35:13 +01:00
|
|
|
@cp -f sm64ds_defs.s defines.s
|
|
|
|
|
|
|
|
setup_yoshids:
|
2016-12-10 06:11:17 +01:00
|
|
|
@rm -f defines.s $(ROP_BIN) haxchi_rop_hook.bin
|
2016-11-28 05:35:13 +01:00
|
|
|
@cp -f yoshids_defs.s defines.s
|
|
|
|
|
|
|
|
setup_zeldaph:
|
2016-12-10 06:11:17 +01:00
|
|
|
@rm -f defines.s $(ROP_BIN) haxchi_rop_hook.bin
|
2016-11-15 01:49:12 +01:00
|
|
|
@cp -f zeldaph_defs.s defines.s
|
2016-11-28 05:35:13 +01:00
|
|
|
|
|
|
|
setup_zeldast:
|
2016-12-10 06:11:17 +01:00
|
|
|
@rm -f defines.s $(ROP_BIN) haxchi_rop_hook.bin
|
2016-11-28 05:35:13 +01:00
|
|
|
@cp -f zeldast_defs.s defines.s
|
|
|
|
|
2016-12-01 03:32:25 +01:00
|
|
|
animalcrossing.nds:
|
2016-12-10 06:11:17 +01:00
|
|
|
@armips $(ROP_S)
|
|
|
|
@armips $(HAXCHI_S)
|
2016-12-01 03:32:25 +01:00
|
|
|
@mv rom.nds animalcrossing.nds
|
|
|
|
|
2016-11-28 05:35:13 +01:00
|
|
|
brainage.nds:
|
2016-12-10 06:11:17 +01:00
|
|
|
@armips $(ROP_S)
|
|
|
|
@armips $(HAXCHI_S)
|
2016-11-28 05:35:13 +01:00
|
|
|
@mv rom.nds brainage.nds
|
|
|
|
@cp brainage.nds yoshitouchandgo.nds
|
|
|
|
|
|
|
|
dkjclimber.nds:
|
2016-12-10 06:11:17 +01:00
|
|
|
@armips $(ROP_S)
|
|
|
|
@armips $(HAXCHI_S)
|
2016-11-28 05:35:13 +01:00
|
|
|
@mv rom.nds dkjclimber.nds
|
|
|
|
|
2016-12-01 03:32:25 +01:00
|
|
|
guardiansigns.nds:
|
2016-12-10 06:11:17 +01:00
|
|
|
@armips $(ROP_S)
|
|
|
|
@armips $(HAXCHI_S)
|
2016-12-01 03:32:25 +01:00
|
|
|
@mv rom.nds guardiansigns.nds
|
|
|
|
|
2016-11-28 05:35:13 +01:00
|
|
|
kirby.nds:
|
2016-12-10 06:11:17 +01:00
|
|
|
@armips $(ROP_S)
|
|
|
|
@armips $(HAXCHI_S)
|
2016-11-28 05:35:13 +01:00
|
|
|
@mv rom.nds kirby.nds
|
|
|
|
|
|
|
|
kirbymassattack.nds:
|
2016-12-10 06:11:17 +01:00
|
|
|
@armips $(ROP_S)
|
|
|
|
@armips $(HAXCHI_S)
|
2016-11-28 05:35:13 +01:00
|
|
|
@mv rom.nds kirbymassattack.nds
|
|
|
|
|
|
|
|
mariokartds.nds:
|
2016-12-10 06:11:17 +01:00
|
|
|
@armips $(ROP_S)
|
|
|
|
@armips $(HAXCHI_S)
|
2016-11-28 05:35:13 +01:00
|
|
|
@mv rom.nds mariokartds.nds
|
|
|
|
@cp mariokartds.nds newsmb.nds
|
|
|
|
|
|
|
|
masterofdisguise.nds:
|
2016-12-10 06:11:17 +01:00
|
|
|
@armips $(ROP_S)
|
|
|
|
@armips $(HAXCHI_S)
|
2016-11-28 05:35:13 +01:00
|
|
|
@mv rom.nds masterofdisguise.nds
|
|
|
|
|
|
|
|
newsmb_eur.nds:
|
2016-12-10 06:11:17 +01:00
|
|
|
@armips $(ROP_S)
|
|
|
|
@armips $(HAXCHI_S)
|
2016-11-28 05:35:13 +01:00
|
|
|
@mv rom.nds newsmb_eur.nds
|
|
|
|
|
2016-12-01 03:32:25 +01:00
|
|
|
pokemonranger.nds:
|
2016-12-10 06:11:17 +01:00
|
|
|
@armips $(ROP_S)
|
|
|
|
@armips $(HAXCHI_S)
|
2016-12-01 03:32:25 +01:00
|
|
|
@mv rom.nds pokemonranger.nds
|
|
|
|
|
2016-11-28 05:35:13 +01:00
|
|
|
partnersintime.nds:
|
2016-12-10 06:11:17 +01:00
|
|
|
@armips $(ROP_S)
|
|
|
|
@armips $(HAXCHI_S)
|
2016-11-28 05:35:13 +01:00
|
|
|
@mv rom.nds partnersintime.nds
|
|
|
|
|
|
|
|
sfcommand.nds:
|
2016-12-10 06:11:17 +01:00
|
|
|
@armips $(ROP_S)
|
|
|
|
@armips $(HAXCHI_S)
|
2016-11-28 05:35:13 +01:00
|
|
|
@mv rom.nds sfcommand.nds
|
|
|
|
|
|
|
|
sm64ds.nds:
|
2016-12-10 06:11:17 +01:00
|
|
|
@armips $(ROP_S)
|
|
|
|
@armips $(HAXCHI_S)
|
2016-11-28 05:35:13 +01:00
|
|
|
@mv rom.nds sm64ds.nds
|
|
|
|
@cp sm64ds.nds kirbycanvascurse.nds
|
|
|
|
|
|
|
|
yoshids.nds:
|
2016-12-10 06:11:17 +01:00
|
|
|
@armips $(ROP_S)
|
|
|
|
@armips $(HAXCHI_S)
|
2016-11-28 05:35:13 +01:00
|
|
|
@mv rom.nds yoshids.nds
|
|
|
|
@cp yoshids.nds wwtouched.nds
|
|
|
|
@cp yoshids.nds bigbrainacademy.nds
|
|
|
|
|
|
|
|
zeldaph.nds:
|
2016-12-10 06:11:17 +01:00
|
|
|
@armips $(ROP_S)
|
|
|
|
@armips $(HAXCHI_S)
|
2016-11-28 05:35:13 +01:00
|
|
|
@mv rom.nds zeldaph.nds
|
|
|
|
|
|
|
|
zeldast.nds:
|
2016-12-10 06:11:17 +01:00
|
|
|
@armips $(ROP_S)
|
|
|
|
@armips $(HAXCHI_S)
|
2016-11-25 06:41:27 +01:00
|
|
|
@mv rom.nds zeldast.nds
|
2016-12-01 03:32:25 +01:00
|
|
|
@cp zeldast.nds explorersofsky.nds
|
2016-11-29 18:29:55 +01:00
|
|
|
@cp zeldast.nds shadowsofalmia.nds
|
2016-11-28 05:35:13 +01:00
|
|
|
|
2016-12-01 03:32:25 +01:00
|
|
|
animalcrossing.zip:
|
|
|
|
$(ZIP) -JXjq9 ../installer/data/animalcrossing.zip animalcrossing.nds
|
|
|
|
|
2016-11-28 05:35:13 +01:00
|
|
|
brainage.zip:
|
|
|
|
$(ZIP) -JXjq9 ../installer/data/brainage.zip brainage.nds
|
|
|
|
$(ZIP) -JXjq9 ../installer/data/yoshitouchandgo.zip yoshitouchandgo.nds
|
|
|
|
|
|
|
|
dkjclimber.zip:
|
|
|
|
$(ZIP) -JXjq9 ../installer/data/dkjclimber.zip dkjclimber.nds
|
|
|
|
|
2016-12-01 03:32:25 +01:00
|
|
|
guardiansigns.zip:
|
|
|
|
$(ZIP) -JXjq9 ../installer/data/guardiansigns.zip guardiansigns.nds
|
|
|
|
|
2016-11-28 05:35:13 +01:00
|
|
|
kirby.zip:
|
|
|
|
$(ZIP) -JXjq9 ../installer/data/kirby.zip kirby.nds
|
|
|
|
|
|
|
|
kirbymassattack.zip:
|
|
|
|
$(ZIP) -JXjq9 ../installer/data/kirbymassattack.zip kirbymassattack.nds
|
|
|
|
|
|
|
|
mariokartds.zip:
|
|
|
|
$(ZIP) -JXjq9 ../installer/data/mariokartds.zip mariokartds.nds
|
|
|
|
$(ZIP) -JXjq9 ../installer/data/newsmb.zip newsmb.nds
|
|
|
|
|
|
|
|
masterofdisguise.zip:
|
|
|
|
$(ZIP) -JXjq9 ../installer/data/masterofdisguise.zip masterofdisguise.nds
|
|
|
|
|
|
|
|
newsmb_eur.zip:
|
|
|
|
$(ZIP) -JXjq9 ../installer/data/newsmb_eur.zip newsmb_eur.nds
|
|
|
|
|
2016-12-01 03:32:25 +01:00
|
|
|
pokemonranger.zip:
|
|
|
|
$(ZIP) -JXjq9 ../installer/data/pokemonranger.zip pokemonranger.nds
|
|
|
|
|
2016-11-28 05:35:13 +01:00
|
|
|
partnersintime.zip:
|
|
|
|
$(ZIP) -JXjq9 ../installer/data/partnersintime.zip partnersintime.nds
|
|
|
|
|
|
|
|
sfcommand.zip:
|
|
|
|
$(ZIP) -JXjq9 ../installer/data/sfcommand.zip sfcommand.nds
|
|
|
|
|
|
|
|
sm64ds.zip:
|
|
|
|
$(ZIP) -JXjq9 ../installer/data/sm64ds.zip sm64ds.nds
|
|
|
|
$(ZIP) -JXjq9 ../installer/data/kirbycanvascurse.zip kirbycanvascurse.nds
|
|
|
|
|
|
|
|
yoshids.zip:
|
|
|
|
$(ZIP) -JXjq9 ../installer/data/yoshids.zip yoshids.nds
|
|
|
|
$(ZIP) -JXjq9 ../installer/data/wwtouched.zip wwtouched.nds
|
|
|
|
$(ZIP) -JXjq9 ../installer/data/bigbrainacademy.zip bigbrainacademy.nds
|
|
|
|
|
|
|
|
zeldaph.zip:
|
|
|
|
$(ZIP) -JXjq9 ../installer/data/zeldaph.zip zeldaph.nds
|
|
|
|
|
|
|
|
zeldast.zip:
|
|
|
|
$(ZIP) -JXjq9 ../installer/data/zeldast.zip zeldast.nds
|
2016-12-01 03:32:25 +01:00
|
|
|
$(ZIP) -JXjq9 ../installer/data/explorersofsky.zip explorersofsky.nds
|
2016-11-29 18:29:55 +01:00
|
|
|
$(ZIP) -JXjq9 ../installer/data/shadowsofalmia.zip shadowsofalmia.nds
|
2016-11-28 05:35:13 +01:00
|
|
|
|
|
|
|
clean:
|
|
|
|
@rm -f *.bin *.nds ../installer/data/*.zip defines.s
|
|
|
|
@cd option_select && make clean && cd ..
|
|
|
|
@cd hbl_loader && make clean && cd ..
|
|
|
|
@cd cfw_booter && make clean && cd ..
|
2016-12-10 06:11:17 +01:00
|
|
|
@cd CBHC && make clean && cd ..
|
2016-11-28 05:35:13 +01:00
|
|
|
@echo "all cleaned up !"
|