Herringway / ebsrc

Source code recreation for the game Earthbound
133 stars 8 forks source link

Don't include USA deps, except when building a USA ROM #30

Closed PhoenixBound closed 6 months ago

PhoenixBound commented 6 months ago

Minimal version of the bug fix from #29.

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.