Re: Why "*** extraneous `endef'. Stop."?

2009-09-06 Thread Sergey Zubkovsky
by previous years and don't assigned to anyone. I'll schedule to move my project to bjam (http://www.boost.org/boost-build2/doc/html/index.html) since make's scripts are too difficult for my purpose. Has anyone use bjam in yourself projects? Thanks. Philip Guenther wrote: On Sun,

Re: Why "*** extraneous `endef'. Stop."?

2009-09-06 Thread Sergey Zubkovsky
It seems to me this is a bug. All will be fine if we just rewrite 'ifneq (1,1)' as 'ifeq (1,1)'. That is why I sent the question. I hope someone will add an item in the bug tracker (who know `make' better than me and will confirm this supposition). Alfred M. Szmidt wrote: define starts a

Why "*** extraneous `endef'. Stop."?

2009-09-05 Thread Sergey Zubkovsky
Hi, Why the below makefile fails with the error text "_Makefile:16: *** extraneous `endef'. Stop._"? Thanks. #--- *define Var1 ifneq (1,1) define Var2 define Var3 endef endef endif endef .PHONY : EmptyTarget EmptyTarget : ; $(eval $(value Var1))* #