From 40ab963a86eea15ee211ea1999a69561b8ec1c78 Mon Sep 17 00:00:00 2001 From: Christopher Roy Bratusek Date: Thu, 3 Jan 2013 22:35:05 +0100 Subject: [PATCH] integrate forwarder source in build --- Makefile | 8 +++++++- forwarder/Makefile | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 278e44e..72b92cb 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,12 @@ dist_vwii: compile_installer_vwii compile_stboot_vwii @tar cfj HomebrewFilter-vWii-rev$(REV).tar.bz2 HomebrewFilter.vWii/ @tar cfj HomebrewFilter-vWii-Standalone-rev$(REV).tar.bz2 HomebrewFilter.vWii.Standalone/ -pack_forwarder: +compile_forwarder: + @make -C forwarder + @cp forwarder/forwarder.dol forwarder/wad/00000001.app + @cp forwarder/forwarder.dol forwarder/wad.vwii/00000001.app + +pack_forwarder: compile_forwarder @tools/WadMii.exe -input "Z:$(PWD)\forwarder\wad" -output "Z:$(PWD)\HBF0.wad" || wine tools/WadMii.exe -input "Z:$(PWD)\forwarder\wad" -output "Z:$(PWD)\HBF0.wad" @tools/WadMii.exe -input "Z:$(PWD)\forwarder\wad.vwii" -output "Z:$(PWD)\HBF0.vWii.wad" || wine tools/WadMii.exe -input "Z:$(PWD)\forwarder\wad" -output "Z:$(PWD)\HBF0.vWii.wad" @@ -22,6 +27,7 @@ clean: @make -C boot clean @make -C installer clean @make -C nand-loader clean + @make -C forwarder clean @make -C libruntimeiospatch clean clean_vwii: diff --git a/forwarder/Makefile b/forwarder/Makefile index e0af651..8b99337 100644 --- a/forwarder/Makefile +++ b/forwarder/Makefile @@ -15,7 +15,7 @@ include $(DEVKITPPC)/wii_rules # SOURCES is a list of directories containing source code # INCLUDES is a list of directories containing extra header files #--------------------------------------------------------------------------------- -TARGET := boot +TARGET := forwarder BUILD := build SOURCES := source DATA := data