[Top][All Lists]

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

Re: CFLAGS for one file?

From: Bernd Jendrissek
Subject: Re: CFLAGS for one file?
Date: Tue, 28 Oct 2008 13:10:38 +0200

On Tue, Oct 28, 2008 at 12:24 PM, Monty Taylor <address@hidden> wrote:
> Is there a sensible way to set CFLAGS for a single file? Right now I'm
> breaking it out into an LT convenience lib that gets linked in to the
> final output... but I just had the thought that perhaps there was a
> simple piece of declarative goo I was missing...

The automake manual itself [*] suggests this trick of the one-file
convenience library, then setting the specific CFLAGS for just that
convenience library.

So I think you're doing the best you can with automake and not missing
any declarative goo.

[*] Under "Per-Object Flags", section 27.8 for automake-1.10.1.

reply via email to

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