automake
[Top][All Lists]
Advanced

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

RE: Large project support


From: Robert Collins
Subject: RE: Large project support
Date: Thu, 11 Apr 2002 19:59:47 +1000

> -----Original Message-----
> From: Timo K Suoranta [mailto:address@hidden 
> Sent: Thursday, April 11, 2002 5:41 PM
> 
> > Wildcards are unreliable, and with automake we try to 
> promote reliable 
> > builds.  For instance that is why we use full instead of partial 
> > dependency information.
> 
> Wildcards can be unrealiable if you don't spesifically 
> indicate that you want them, and that you really knbw that 
> your source directories must only contain files that really 
> belong to that project.
> 
> However, manual editing of source file list is not much more 
> reliable I think.
> 
> > As an example suppose you want to use per-executable CFLAGS.  This 
> > feature won't work with wildcards since we must generate an 
> explicit 
> > rule for each .o in the executable.
> 
> Per-executable CFLAGS can be done by having per-directory 
> CFLAGS. I already place each executable sources to separate directory.

Or simply allow a patternmatch. If you can pattern match what .c and .cc
files go into foo[.exe], surely one can do the same thing for CFLAGS.
 
Rob



reply via email to

[Prev in Thread] Current Thread [Next in Thread]