summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2018-01-13 01:30:43 -0500
committeryenatch <yenatch@gmail.com>2018-01-13 01:30:43 -0500
commit98ee41806e87f5b1cd43bab4dff1466b65aa036c (patch)
treead5f4a7bc1d27ed168acbb8f7232761bf7b1fe91
parent294c9656bec076e1993375966a725723a931fa33 (diff)
use .SECONDARY instead of .PRECIOUS to prevent files from being deleted
-rw-r--r--Makefile4
1 files 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))