[Top][All Lists]

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


From: Alexandre Duret-Lutz
Subject: Re: XXX_CFLAGS
Date: 13 Aug 2001 10:21:45 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

>>> "Ralf" == Ralf Corsepius <address@hidden> writes:

 Ralf> Hi,
 Ralf> automake-cvs/branch-real-1.5 confuses me:

 Ralf> # cat
 Ralf> hello_c_CFLAGS = -Dhello
 Ralf> noinst_PROGRAMS = hello-c
 Ralf> hello_c_SOURCES = hello-c.c

 Ralf> # make 
 Ralf> gcc  -g -O2   -o hello-c  hello_c-hello-c.o  

 Ralf> Is this behavior intentional (filenaming of the *.o's)?

As soon as you start using per-target CFLAGS, Automake generates
per-target object files (so that you can share a source file in
two programs but still have it compiled twice, with different
Alexandre Duret-Lutz

reply via email to

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