mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-01-27 05:43:51 +01:00
Merge pull request #1040 from PikalaxALT/toolfix
Fix building modern from clean
This commit is contained in:
commit
44f348a8e1
4
Makefile
4
Makefile
@ -109,13 +109,13 @@ MAKEFLAGS += --no-print-directory
|
|||||||
# Secondary expansion is required for dependency variables in object rules.
|
# Secondary expansion is required for dependency variables in object rules.
|
||||||
.SECONDEXPANSION:
|
.SECONDEXPANSION:
|
||||||
|
|
||||||
.PHONY: all rom clean compare tidy tools mostlyclean clean-tools $(TOOLDIRS) berry_fix libagbsyscall
|
.PHONY: all rom clean compare tidy tools mostlyclean clean-tools $(TOOLDIRS) berry_fix libagbsyscall modern
|
||||||
|
|
||||||
infoshell = $(foreach line, $(shell $1 | sed "s/ /__SPACE__/g"), $(info $(subst __SPACE__, ,$(line))))
|
infoshell = $(foreach line, $(shell $1 | sed "s/ /__SPACE__/g"), $(info $(subst __SPACE__, ,$(line))))
|
||||||
|
|
||||||
# Build tools when building the rom
|
# Build tools when building the rom
|
||||||
# Disable dependency scanning for clean/tidy/tools
|
# Disable dependency scanning for clean/tidy/tools
|
||||||
ifeq (,$(filter-out all compare,$(MAKECMDGOALS)))
|
ifeq (,$(filter-out all rom compare modern berry_fix libagbsyscall,$(MAKECMDGOALS)))
|
||||||
$(call infoshell, $(MAKE) tools)
|
$(call infoshell, $(MAKE) tools)
|
||||||
else
|
else
|
||||||
NODEP := 1
|
NODEP := 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user