tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: make: who included me?



> The patch below (shocking name for the variable - suggestions
> welcome) was very useful in tracking down the cause of an odd
> situation.  For a makefile like dirdeps.mk which gets included 1000's
> of times, during a build, it can be very handy to be able to report
> the makefile that included it.

If the intended use is debugging, why not give the whole chain of
inclusions?

I'd also point out that doing something like this without adding it to
the documentation is semi-pointless, since to a good approximation
nobody will know about it and thus be able to use it.

/~\ The ASCII                             Mouse
\ / Ribbon Campaign
 X  Against HTML                mouse%rodents-montreal.org@localhost
/ \ Email!           7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B


Home | Main Index | Thread Index | Old Index