From 65ef391a5ca76e9d5ac80afbcd24bfc23390e24c Mon Sep 17 00:00:00 2001 From: Christopher Roy Bratusek Date: Tue, 1 Jan 2013 12:49:15 +0100 Subject: [PATCH] further improvements in build process --- Makefile | 8 +++++++- main/Makefile | 2 -- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 6681afe..a9a1835 100644 --- a/Makefile +++ b/Makefile @@ -21,7 +21,7 @@ clean: @make -C libruntimeiospatch clean clean_vwii: - @make -C main -f Makefile.vWii clean + @make -C main clean @make -C boot clean @make -C installer clean @@ -35,6 +35,8 @@ compile_stboot: clean @echo "============================" @echo "== HBF Standalone for Wii ==" @echo "============================" + @rm -f HomebrewFilter.Standalone/boot.dol + @rm -f main/hbf.dol main/hbf.elf @XFLAGS="-DSTBOOT" make -C main @cp main/hbf.dol boot/source/hbf.dol @make -C boot @@ -44,6 +46,8 @@ compile_stboot_vwii: clean_vwii @echo "=============================" @echo "== HBF Standalone for vWii ==" @echo "=============================" + @rm -f HomebrewFilter.vWii.Standalone/boot.dol + @rm -f main/hbf.dol main/hbf.elf @XFLAGS="-DSTBOOTVWII -DVWII" make -C main @cp main/hbf.dol boot/source/hbf.dol @make -C boot @@ -53,6 +57,7 @@ compile_hbf: clean @echo "===========================" @echo "== HBF Installer for Wii ==" @echo "===========================" + @rm -f HomebrewFilter/boot.dol @make -C main @cp main/hbf.dol boot/source/hbf.dol @@ -69,6 +74,7 @@ compile_hbf_vwii: clean_vwii @echo "============================" @echo "== HBF Installer for vWii ==" @echo "============================" + @rm -f HomebrewFilter.vWii/boot.dol @XFLAGS="-DVWII" make -C main @cp main/hbf.dol boot/source/hbf.dol diff --git a/main/Makefile b/main/Makefile index 4b25984..116684d 100644 --- a/main/Makefile +++ b/main/Makefile @@ -125,8 +125,6 @@ $(BUILD): clean: @echo clean ... @rm -fr $(BUILD) $(OUTPUT).dol $(OUTPUT).elf - @rm -f ../HomebrewFilter/boot.dol - @rm -f ../HomebrewFilter.Standalone/boot.dol #--------------------------------------------------------------------------------- run: