On Mon, Mar 31, 2008 at 05:54:09PM +0200, Jürgen Kilb wrote: > If i do the same, the result is different... but why ? > > [EMAIL PROTECTED]:~> cat Makefile > BAZ=$(and $(FOO),$(BAR)) > > all: > @echo $(BAZ) > [EMAIL PROTECTED]:~> make FOO= BAR= > > [EMAIL PROTECTED]:~> make FOO=y BAR= > > [EMAIL PROTECTED]:~> make FOO= BAR=y > > [EMAIL PROTECTED]:~> make FOO=y BAR=y > > [EMAIL PROTECTED]:~> > > Maybe the 'make' version ? > > [EMAIL PROTECTED]:~> make -v > GNU Make 3.80 > Copyright (C) 2002 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. > There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A > PARTICULAR PURPOSE. > [EMAIL PROTECTED]:~>
Hmm, I have 3.81. Does anyone have a better idea, or should we depend on 3.81? However, it would be a little bit uggly... Robert -- Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de Pengutronix - Linux Solutions for Science and Industry Handelsregister: Amtsgericht Hildesheim, HRA 2686 Hannoversche Str. 2, 31134 Hildesheim, Germany Phone: +49-5121-206917-0 | Fax: +49-5121-206917-9 -- ptxdist mailing list ptxdist@pengutronix.de