Mike Shal wrote:

One way would be to use define/endef to create a variable, since that
preserves newlines:

define err
No object directory found -- possible configuration problem?
I looked for : $(OBJDIRS)
endef

ifeq (,$(OBJDIR))
  $(error $(err))
endif

I don't know if there's an easy way to do "inline" newlines, but in
general anytime you want newlines in things, define/endef is your guy.

Cool.. I'll give it a try. Thanks!


_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to