This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Beginner GCC projects question


> -----Original Message-----
> From: gcc-owner On Behalf Of Michael Veksler
> Sent: 17 May 2004 11:01


> There are ways to fix concerns 1-3 but they are quite
> ugly. Some of the solutions are not so portable (e.g. require
> /bin/touch). You may wind up doing weird dependencies like:
>   foo.o: foo.c foo.m
>   foo.m:
>       @#do nothing
> or:
>   foo.o: foo.c foo.m
>   foo.m: foo.c
> 
> I am sure that there are examples somewhere on the
> web, I am not quite sure if Automake has it done right.


  There's a very fine document called "Advanced Auto-Dependency Generation"
at the gmake maintainer's website http://make.paulandlesley.org/autodep.html
which will probably help if you haven't seen it before.  Highly recommended.




    cheers, 
      DaveK
-- 
Can't think of a witty .sigline today....


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]