automake
[Top][All Lists]
Advanced

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

Re: CPPFLAGS for LIBOBJS


From: Russ Allbery
Subject: Re: CPPFLAGS for LIBOBJS
Date: Wed, 23 Apr 2008 13:51:11 -0700
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

Ralf Wildenhues <address@hidden> writes:

> Yes, they don't get per-target preprocessor or compile flags.  That
> doesn't work, because then they would have to be renamed:  $(LIBOBJS)
> may be added to several outputs, each with different per-target flags.

This is why I want LIBOBJS_CPPFLAGS, which would globally specify the
CPPFLAGS used for building those objects.  I don't need to build them
multiple times with different flags.  I only need to build them once, but
possibly with flags different than what are used by the rest of the
project.  I think this would avoid the problems you mention above.

-- 
Russ Allbery (address@hidden)             <http://www.eyrie.org/~eagle/>




reply via email to

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