[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: A global _CFLAGS assigment?
From: |
Ralf Wildenhues |
Subject: |
Re: A global _CFLAGS assigment? |
Date: |
Fri, 6 Jun 2008 18:22:09 +0200 |
User-agent: |
Mutt/1.5.17+20080114 (2008-01-14) |
Hello Steven,
* Steven Woody wrote on Fri, Jun 06, 2008 at 06:17:30PM CEST:
>
> My project tree have many Makefile.am in a recursive directory tree
> and I want every Makefile.am has a line some thing like xxx_CFLAGS =
> -Wall. What's the way to do that? You see, there are many different
> xxx_ in different Makefile.am.
I don't quite understand, but you're either looking for
AM_CFLAGS = ...
(you can also AC_SUBST([AM_CFLAGS], [...]) from within configure.ac)
or for putting a bunch of 'include $(top_srcdir)/.../fragment.am' into
all the Makefile.am files to have some common code.
Hope that helps.
Cheers,
Ralf