From 36e6f8cb3d44afc9d09b5e8646614ae25640461f Mon Sep 17 00:00:00 2001 From: Derek Hensley Date: Sun, 8 Aug 2021 19:40:46 -0700 Subject: [PATCH] Update makefile so compression only starts if checksum matches (#265) * Change dependency to uncompressed * Change all to just run compressed --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 8041017a41..1b908aa235 100644 --- a/Makefile +++ b/Makefile @@ -170,13 +170,13 @@ endif .PHONY: all uncompressed compressed clean assetclean distclean disasm init setup .DEFAULT_GOAL := uncompressed -all: uncompressed compressed +all: compressed $(ROM): $(ELF) $(ELF2ROM) -cic 6105 $< $@ -$(ROMC): $(ROM) - python3 tools/z64compress_wrapper.py --mb 32 --matching --threads $(N_THREADS) $< $@ $(ELF) build/$(SPEC) +$(ROMC): uncompressed + python3 tools/z64compress_wrapper.py --mb 32 --matching --threads $(N_THREADS) $(ROM) $@ $(ELF) build/$(SPEC) $(ELF): $(TEXTURE_FILES_OUT) $(OVERLAY_RELOC_FILES) $(O_FILES) build/ldscript.txt build/undefined_syms.txt $(LD) -T build/undefined_syms.txt -T build/ldscript.txt --no-check-sections --accept-unknown-input-arch --emit-relocs -Map build/mm.map -o $@