Lets say I call:
make -j 5
Is there a way, within my Makefile
to get the -j
parameter ?
My goal is to call scons
from a Makefile
a to keep the ability to use several jobs to fasten compilation.
Something like:
# The Makefile
all:
scons -j ${GET_J_PARAMETER}
Thank you.
Foot note: I know I should better call scons
directly but some of the developers where I work have been typing make
for almost ten years and it seems impossible for them to type anything else to build their libraries...