|
From: | Rick Flower |
Subject: | Re: Embedding a carriage return in $(error)? |
Date: | Mon, 16 Apr 2007 21:12:14 -0700 |
User-agent: | Thunderbird 2.0.0.0 (Macintosh/20070326) |
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!
[Prev in Thread] | Current Thread | [Next in Thread] |