Re: $(eval ..) in conditional
"Kiril Serebnik" <[email protected]>
| Newsgroups | gmane.comp.gnu.make.windows |
|---|---|
| Message-ID | <[email protected]> |
Here is it: 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. On Dec 24, 2007 5:56 PM, Greg Chicares <[email protected]> wrote: > On 2007-12-24 15:47Z, Kiril Serebnik wrote: > > > > define FOO > > AA = BB > > endef > > > > ifeq ($(BAR),$(empty)) > > $(eval $(FOO)) > > endif > > > > .PHONY: all > > > > all: > > @echo $(AA) > > RESULT:: > > > > test.mak:6: *** missing `endif'. Stop. > > Instead of an error message, I get "BB". Please copy and paste > the output you get from make '--version'. > -- Regards, Kiril _______________________________________________ Make-w32 mailing list [email protected] http://lists.gnu.org/mailman/listinfo/make-w32