While the Wiki often encourages parallel builds (e.g., with make -j4), tools/Makefile is not currently safe for parallel builds as it doesn't currently account for dependencies between programs.
E.g.:
tabledesign → audiofile
skyconv → n64graphics
More often than not, trying to compile tools with make -j4 will fail due to tabledesign finishing to compile before audiofile and then failing to link.
While this would ideally be solved by introducing separate rules per program accounting for dependencies, for now I'm forcing j1 for tools.
While the Wiki often encourages parallel builds (e.g., with
make -j4
),tools/Makefile
is not currently safe for parallel builds as it doesn't currently account for dependencies between programs.E.g.:
More often than not, trying to compile tools with
make -j4
will fail due totabledesign
finishing to compile beforeaudiofile
and then failing to link.While this would ideally be solved by introducing separate rules per program accounting for dependencies, for now I'm forcing
j1
for tools.This fix was already merged upstream as part of PR https://github.com/sm64pc/sm64ex/pull/512