On Tue, 24 Feb 2004, Ben Pfaff wrote:
> Bob Friesenhahn <[EMAIL PROTECTED]> writes:
>
> > On Tue, 24 Feb 2004, Ben Pfaff wrote:
> >> >
> >> > Of course, when my source files are C++ files the _CFLAGS extension does
> >> > nothing. Changing this to _CPPFLAGS fixed the problem. Duh.
> >>
> >> You
Bob Friesenhahn <[EMAIL PROTECTED]> writes:
> On Tue, 24 Feb 2004, Ben Pfaff wrote:
>> >
>> > Of course, when my source files are C++ files the _CFLAGS extension does
>> > nothing. Changing this to _CPPFLAGS fixed the problem. Duh.
>>
>> You know that CPPFLAGS is for the C preprocessor and CXXFL
On Tue, 24 Feb 2004, Ben Pfaff wrote:
> >
> > Of course, when my source files are C++ files the _CFLAGS extension does
> > nothing. Changing this to _CPPFLAGS fixed the problem. Duh.
>
> You know that CPPFLAGS is for the C preprocessor and CXXFLAGS is
> for the C++ compiler, right?
This distinct
I didn't. But I do now.
Thanks,
Scott
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> On Behalf Of Ben Pfaff
> Sent: Tuesday, February 24, 2004 1:43 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Target-specific CFLAGS
>
>
"Drummonds, Scott B" <[EMAIL PROTECTED]> writes:
> From: [EMAIL PROTECTED]
>>
>> noinst_LIBRARIES = normal.a normal-feature.a
>>
>> normal_a_SOURCES = [bunch of files]
>> normal_feature_a_SOURCES = $(normal_a_SOURCES)
>> normal_feature_a_CFLAGS = -DFEATURE
>>
> ...
>> Where have I gone wrong?
From: [EMAIL PROTECTED]
>
> noinst_LIBRARIES = normal.a normal-feature.a
>
> normal_a_SOURCES = [bunch of files]
> normal_feature_a_SOURCES = $(normal_a_SOURCES)
> normal_feature_a_CFLAGS = -DFEATURE
>
...
> Where have I gone wrong?
Of course, when my source files are C++ files the _CFLAGS ext
Hi, everyone,
A couple of weeks back I posted my problems with getting an ancient
version of Automake to build two libraries. Each was to use the same
source but one should have it's objects compiled with "-DFEATURE". I
attempted to use the following setup:
noinst_LIBRARIES = normal.a normal-f
> "Richard" == Richard Boulton <[EMAIL PROTECTED]> writes:
Richard> Makefile:1344: warning: overriding commands for target
Richard> `libgst_la-gstparse.lo'
Richard> Makefile:966: warning: ignoring old commands for target
Richard> `libgst_la-gstparse.lo'
Thanks for the report.
Richard> I've
Hi,
For the GStreamer project (http://www.gstreamer.net/) I've got a
Makefile.am which uses target specific CFLAGS, and also has an automake
conditional to determine the source files to use. This is generating a
functioning makefile, but each of the rules for generating a specific
target f