Previously, .deps would be included even for unrelated targets like make extract. This can create a chicken-and-egg problem if it triggers a build error: running make extract tries to update any existing .dep files, which tries to build the code, which may fail due to a missing incbin (or even another assembly error that has nothing to do with dumping assets).
With this change, nothing is included if none of the main targets (all/earthbound/proto19950327/mother2) is being built.
Minimal version of the bug fix from #29.
Previously, .deps would be
include
d even for unrelated targets likemake extract
. This can create a chicken-and-egg problem if it triggers a build error: runningmake extract
tries to update any existing .dep files, which tries to build the code, which may fail due to a missing incbin (or even another assembly error that has nothing to do with dumping assets).With this change, nothing is
include
d if none of the main targets (all/earthbound/proto19950327/mother2) is being built.