[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Target-specific CFLAGS
From: |
Ben Pfaff |
Subject: |
Re: Target-specific CFLAGS |
Date: |
Tue, 24 Feb 2004 13:43:24 -0800 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) |
"Drummonds, Scott B" <address@hidden> writes:
> From: address@hidden
>> <quote>
>> 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
>> </quote>
> ...
>> Where have I gone wrong?
>
> 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?
--
Ben Pfaff
email: address@hidden
web: http://benpfaff.org
RE: Target-specific CFLAGS, Drummonds, Scott B, 2004/02/24