mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-01-13 23:23:43 +01:00
Merge remote-tracking branch 'origin/delete-on-error'
This commit is contained in:
commit
23f45bd2b6
11
Makefile
11
Makefile
@ -43,14 +43,16 @@ SCANINC := tools/scaninc/scaninc
|
|||||||
PREPROC := tools/preproc/preproc
|
PREPROC := tools/preproc/preproc
|
||||||
RAMSCRGEN := tools/ramscrgen/ramscrgen
|
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_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))
|
||||||
@ -166,3 +168,6 @@ $(ELF): $(OBJ_DIR)/ld_script.ld $(OBJS)
|
|||||||
|
|
||||||
$(ROM): $(ELF)
|
$(ROM): $(ELF)
|
||||||
$(OBJCOPY) -O binary --gap-fill 0xFF --pad-to 0x9000000 $< $@
|
$(OBJCOPY) -O binary --gap-fill 0xFF --pad-to 0x9000000 $< $@
|
||||||
|
|
||||||
|
baserom.gba: ;
|
||||||
|
$(error baserom.gba is required to build)
|
||||||
|
0
build_tools.sh
Normal file → Executable file
0
build_tools.sh
Normal file → Executable file
Loading…
x
Reference in New Issue
Block a user