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
Yeah, that or: define nl endef ... ifeq (,$(OBJDIR)) $(error No object directory found -- possible config problem? $(nl)\ I looked for : $(OBJDIRS)) endif Brian _______________________________________________ Help-make mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-make
