2012-04-17 23:11:54 +02:00
|
|
|
all: compile_installer
|
|
|
|
|
2012-12-16 18:17:17 +01:00
|
|
|
REV=$(shell grep define svnrev/svnrev.c | gawk '{print $$3}')
|
|
|
|
|
|
|
|
dist: compile-installer
|
2012-12-16 18:20:23 +01:00
|
|
|
@tar cfj HomebrewFilter-rev$(REV).tar.bz HomebrewFilter/
|
|
|
|
@tar cfj HomebrewFilter-Standalone-rev$(REV).tar.bz2 HomebrewFilter.Standalone/
|
2012-12-16 18:17:17 +01:00
|
|
|
|
2012-05-18 21:19:30 +02:00
|
|
|
clean:
|
|
|
|
@make -C main clean
|
|
|
|
@make -C boot clean
|
|
|
|
@make -C installer clean
|
2012-12-08 21:25:25 +01:00
|
|
|
@make -C nand-loader clean
|
2012-05-18 21:19:30 +02:00
|
|
|
|
2012-04-17 23:11:54 +02:00
|
|
|
compile_hbf:
|
|
|
|
@make -C main
|
|
|
|
@cp main/hbf.dol boot/source/hbf.dol
|
|
|
|
|
|
|
|
compile_boot: compile_hbf
|
|
|
|
@make -C boot
|
2012-04-19 20:44:19 +02:00
|
|
|
@cp boot/hbf_boot.dol installer/wad/00000001.app
|
2012-12-16 08:42:33 +01:00
|
|
|
@cp boot/hbf_boot.dol HomebrewFilter.Standalone/boot.dol
|
2012-04-17 23:11:54 +02:00
|
|
|
|
2012-12-08 23:00:45 +01:00
|
|
|
compile_installer: compile_boot
|
2012-04-19 20:44:19 +02:00
|
|
|
@tools/WadMii.exe -input "Z:$(PWD)\installer\wad" -output "Z:$(PWD)\installer\data\install.wad" || wine tools/WadMii.exe -input "Z:$(PWD)\installer\wad" -output "Z:$(PWD)\installer\data\install.wad"
|
2012-04-17 23:11:54 +02:00
|
|
|
@make -C installer
|
|
|
|
@cp installer/installer.dol HomebrewFilter/boot.dol
|