On Jul 13, 2011, at 1:50 PM, Dave Goodell wrote: > Your correction of Jeff's solution made me realize that my "version 3" > solution is wrong. It expresses a foo-->bar.h dependency instead of > foo.o-->bar.h dependency. Your approach is what I was looking for. > Unfortunately this solution gets even uglier looking if foo has any > per-target flags such as "foo_FFLAGS=-I.".
Agreed. Most of my fortran includes are in different directories, making the manual Makefile rules lengthy / ugly / complicated. I.e., perfect for generation in .deps/. :-) I certainly don't have the cycles, but I wish I could inspire someone to write a Fortran dependency analysis module for Automake! -- Jeff Squyres jsquy...@cisco.com For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/