[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: fortran 77 header dependencies
From: |
Jeff Squyres |
Subject: |
Re: fortran 77 header dependencies |
Date: |
Wed, 13 Jul 2011 14:06:16 -0400 |
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
address@hidden
For corporate legal information go to:
http://www.cisco.com/web/about/doing_business/legal/cri/