use .SECONDARY instead of .PRECIOUS to prevent files from being deleted

This commit is contained in:
yenatch 2018-01-13 01:30:43 -05:00
parent 294c9656be
commit 98ee41806e
1 changed files with 2 additions and 2 deletions

View File

@ -45,14 +45,14 @@ RAMSCRGEN := tools/ramscrgen/ramscrgen
# Clear the default suffixes # Clear the default suffixes
.SUFFIXES: .SUFFIXES:
# Don't delete intermediate files
.SECONDARY:
# Delete files that weren't built properly # Delete files that weren't built properly
.DELETE_ON_ERROR: .DELETE_ON_ERROR:
# Secondary expansion is required for dependency variables in object rules. # Secondary expansion is required for dependency variables in object rules.
.SECONDEXPANSION: .SECONDEXPANSION:
.PRECIOUS: %.1bpp %.4bpp %.8bpp %.gbapal %.lz %.rl %.pcm %.bin sound/direct_sound_samples/cry_%.bin
.PHONY: rom clean compare tidy .PHONY: rom clean compare tidy
$(shell mkdir -p $(C_BUILDDIR) $(ASM_BUILDDIR) $(DATA_ASM_BUILDDIR) $(SONG_BUILDDIR)) $(shell mkdir -p $(C_BUILDDIR) $(ASM_BUILDDIR) $(DATA_ASM_BUILDDIR) $(SONG_BUILDDIR))