automake
[Top][All Lists]
Advanced

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

Re: variable names and `include'


From: Ralf Wildenhues
Subject: Re: variable names and `include'
Date: Sun, 25 Jun 2006 20:30:07 +0200
User-agent: Mutt/1.5.11+cvs20060403

Hello Tom,

* Tom Bachmann wrote on Sat, Jun 24, 2006 at 02:24:09PM CEST:
> 
> But automake complains "bad characters in variable name". I could work
> around this by stopping automake from processing the file (make allows
> it), but I could not find a way to do this but $(eval include bar.mk),
> which is, uhm, a bit ugly.

Automake aims at generating portable makefiles, i.e., ones also usable
with non-GNU make.  Automake does not understand much of the GNU make-
specific syntax, such as $(eval ..) or $(foreach ..).

One possibility to separate GNU make specific parts and portable make
parts so that Automake only sees the latter is to put those in
Makefile.am, put the GNU make specific stuff in GNUmakefile, and let the
latter 'include Makefile'.

Cheers,
Ralf




reply via email to

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