automake
[Top][All Lists]
Advanced

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

Re: adding specific C flags for a SINGLE source file


From: Bruce Allen
Subject: Re: adding specific C flags for a SINGLE source file
Date: Thu, 9 Dec 2004 17:21:25 -0600 (CST)

Alexandre,

>      bin_PROGRAMS = foo
>      foo_SOURCES = bar.c bar.h main.c
>      foo_CFLAGS = -some -flags
>      foo_LDADD = libfoo.a
>      noinst_LIBRARIES = libfoo.a
>      libfoo_a_SOURCES = foo.c foo.h
>      libfoo_a_CFLAGS = -some -other -flags

Well, like all 'good answers' this one is obvious:  I should have thought
of it myself.  Thank you!

What you've written would be a nice addition to the FAQ.

Thank you again!

Cheers,
        Bruce





reply via email to

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