From ec813878e4889be97535cf01bd2b49fd09467a47 Mon Sep 17 00:00:00 2001 From: Dan Nicholson Date: Wed, 7 May 2008 07:11:49 -0700 Subject: Ensure recursive makes always propagate errors There were a couple spots left where a recursive make could fail in a chain of commands without stopping. --- src/glu/mesa/Makefile | 2 +- src/glu/sgi/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/glu') diff --git a/src/glu/mesa/Makefile b/src/glu/mesa/Makefile index fb37755..1064bbd 100644 --- a/src/glu/mesa/Makefile +++ b/src/glu/mesa/Makefile @@ -37,7 +37,7 @@ default: echo "$(GLU_LIB_NAME) not build under BeOS, but integrated into ${GL_LIB_NAME}." ; \ exit 0 ; \ else \ - $(MAKE) $(TOP)/$(LIB_DIR)/$(GLU_LIB_NAME) ; \ + $(MAKE) $(TOP)/$(LIB_DIR)/$(GLU_LIB_NAME) || exit 1 ; \ fi $(TOP)/$(LIB_DIR): diff --git a/src/glu/sgi/Makefile b/src/glu/sgi/Makefile index bb1c0a8..207247a 100644 --- a/src/glu/sgi/Makefile +++ b/src/glu/sgi/Makefile @@ -128,7 +128,7 @@ default: echo "$(GLU_LIB_NAME) not build under BeOS, but integrated into ${GL_LIB_NAME}." ; \ exit 0 ; \ else \ - $(MAKE) $(TOP)/$(LIB_DIR)/$(GLU_LIB_NAME) ; \ + $(MAKE) $(TOP)/$(LIB_DIR)/$(GLU_LIB_NAME) || exit 1 ; \ fi $(TOP)/$(LIB_DIR): -- cgit v1.1