From 98ee41806e87f5b1cd43bab4dff1466b65aa036c Mon Sep 17 00:00:00 2001 From: yenatch Date: Sat, 13 Jan 2018 01:30:43 -0500 Subject: [PATCH] use .SECONDARY instead of .PRECIOUS to prevent files from being deleted --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 585236e75..14768cd2f 100644 --- a/Makefile +++ b/Makefile @@ -45,14 +45,14 @@ RAMSCRGEN := tools/ramscrgen/ramscrgen # Clear the default suffixes .SUFFIXES: +# Don't delete intermediate files +.SECONDARY: # Delete files that weren't built properly .DELETE_ON_ERROR: # Secondary expansion is required for dependency variables in object rules. .SECONDEXPANSION: -.PRECIOUS: %.1bpp %.4bpp %.8bpp %.gbapal %.lz %.rl %.pcm %.bin sound/direct_sound_samples/cry_%.bin - .PHONY: rom clean compare tidy $(shell mkdir -p $(C_BUILDDIR) $(ASM_BUILDDIR) $(DATA_ASM_BUILDDIR) $(SONG_BUILDDIR))