Can I create a makefile which will behave as if some options were passed to make executable?
As far as I know it's not possible to modify e.g. the -j value or add the behaviour of -d run-time in a Makefile. However, one nice workaround is adding a target like this:
debug:
make -d debugtarget
Now make debug works just like make -d debugtarget. You can even make "debug" your default target and get the same effect with just make.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With