Hi Paul
> Only a backslash followed immediately by a newline escapes the newline.
Spot on, that fixed that error. Thanks.
I now have a different problem:
.PHONY : makedynamiclibs
makedynamiclibs :
@for d in $(DYNAMIC_LIBS); do \
echo $$d; \
$(MAKE) --quiet --directory=$$d $(MAKECMDGOALS); \
if [ $? > 0 ]; \
then \
break; \
else :; fi; \
done
I find that the for loop does not break when the make call in line 3 of the
script returns an error. I tried:
if [ $$? > 0 ];
but that is no better. Can you see anything obviously wrong with this please?
David
_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make