G'day
I find input make -np 2>&1 | tee results make -np 2>&1 | tee results to test the behavior of a makefile before doing make make is very useful. (Assuming bash, zsh, or something similar to trick stderr into stdout.)
NB Only the time when this does not work properly is that the makefile contains a command to create the local env code. expanding the tarball or creating a recursive copy of the source tree before entering and running the recursive make. For these cases, the analysis is performed in two stages, namely:
- create a local copy as needed and comment out the command "cp -r" or "tar -xvf" applicable in the makefile, and
- run
make -np 2>&1 | tee results make -np 2>&1 | tee results , as before.
By the way. This was the only way to understand what was happening with the creation of an amazing project in which there were 20+ make files of about 2500 kSLOC code. There were also phases of code generation in the assembly to make life more interesting. (-:
NTN
source share