Is there a method to have gcc or ld automatically generate a list of
dependencies for statically linked libraries?  Basically I'm looking for
something similar in nature to what the '-MD' option in cpp does for
headers.

My fallback plan is to parse through the LDFLAGS for the library names
and paths and add the dependencies programmatically by calling eval, but
I would like to avoid this if possible.





_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to