summaryrefslogtreecommitdiff
path: root/src/egl/Makefile
diff options
context:
space:
mode:
authorDan Nicholson <dbn.lists@gmail.com>2008-05-06 12:29:53 -0700
committerDan Nicholson <dbn.lists@gmail.com>2008-05-06 12:29:53 -0700
commitcba14d85a854df8b5f24342c072acf21813761b6 (patch)
tree60b6fd20ef1ba10ebbc1ddf8dc6e11908aa063c2 /src/egl/Makefile
parent50f7e6fb5f0754093e11b781b916034001d44a09 (diff)
Error consistently when running recursive make
When changing directories and running a sub-make, ensure that both the cd and make commands propagate errors to the parent make.
Diffstat (limited to 'src/egl/Makefile')
-rw-r--r--src/egl/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/egl/Makefile b/src/egl/Makefile
index 931e9d0cb8..036bf1f01a 100644
--- a/src/egl/Makefile
+++ b/src/egl/Makefile
@@ -11,7 +11,7 @@ default: subdirs
subdirs:
@for dir in $(SUBDIRS) ; do \
if [ -d $$dir ] ; then \
- (cd $$dir ; $(MAKE)) || exit 1 ; \
+ (cd $$dir && $(MAKE)) || exit 1 ; \
fi \
done
@@ -19,6 +19,6 @@ subdirs:
clean:
@for dir in $(SUBDIRS) ; do \
if [ -d $$dir ] ; then \
- (cd $$dir ; $(MAKE) clean) ; \
+ (cd $$dir && $(MAKE) clean) ; \
fi \
done