aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/wii/wii.mk
blob: f99288c4a63bb06a7aceac18160086a177274be7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
WII_EXE := scummvm$(EXEEXT)
WII_EXE_STRIPPED := scummvm_stripped$(EXEEXT)

$(WII_EXE_STRIPPED): $(WII_EXE)
	$(STRIP) $< -o $@

clean: wiiclean

wiiclean:
	$(RM) $(WII_EXE_STRIPPED)

wiiload: $(WII_EXE_STRIPPED)
	$(DEVKITPPC)/bin/wiiload $<

geckoupload: $(WII_EXE_STRIPPED)
	$(DEVKITPPC)/bin/geckoupload $<

wiigdb:
	$(DEVKITPPC)/bin/powerpc-gekko-gdb -n $(WII_EXE)

wiidebug:
	$(DEVKITPPC)/bin/powerpc-gekko-gdb -n $(WII_EXE) -x $(srcdir)/backends/platform/wii/gdb.txt

.PHONY: wiiclean wiiload geckoupload wiigdb wiidebug