automake
[Top][All Lists]
Advanced

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

Re: best practice for injecting include dir across a project


From: Ben Pfaff
Subject: Re: best practice for injecting include dir across a project
Date: Mon, 28 Jul 2008 09:59:02 -0700
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

Monty Taylor <address@hidden> writes:

> I've got a project that has 24 Makefile.am files. At the top of all of
> them at the moment, I've got:
>
> AM_CPPFLAGS = -I$(top_builddir)/include -I$(top_srcdir)/include

I tend to write "include $(top_srcdir)/Make.vars" at the top of
each Makefile.am, and then include common settings in Make.vars
at the top of the source directory.
-- 
"It was then I realized how dire my medical situation was.  Here I was,
 a network admin, unable to leave, and here was someone with a broken
 network.  And they didn't ask me to fix it.  They didn't even try to
 casually pry a hint out of me." --Ryan Tucker in the Monastery





reply via email to

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