aboutsummaryrefslogtreecommitdiff
path: root/sim/Makefile.in
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2005-01-29 00:53:13 +0000
committerHans-Peter Nilsson <hp@axis.com>2005-01-29 00:53:13 +0000
commit8bdcadb12fd5eabe4e088c4965e2e82ecd987c83 (patch)
treec938ecbd778e8ecb3b8178a827590a43528a38ed /sim/Makefile.in
parent5bcca90b9eb90535e8112a25775bcc18958dd2eb (diff)
downloadgdb-8bdcadb12fd5eabe4e088c4965e2e82ecd987c83.zip
gdb-8bdcadb12fd5eabe4e088c4965e2e82ecd987c83.tar.gz
gdb-8bdcadb12fd5eabe4e088c4965e2e82ecd987c83.tar.bz2
* Makefile.in (all, clean mostlyclean, distclean maintainer-clean)
(realclean, install): Fail if subdir make failed.
Diffstat (limited to 'sim/Makefile.in')
-rw-r--r--sim/Makefile.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/sim/Makefile.in b/sim/Makefile.in
index 7e6dbde..fdbcded 100644
--- a/sim/Makefile.in
+++ b/sim/Makefile.in
@@ -130,7 +130,7 @@ all:
if [ "$$dir" = "." ]; then \
true; \
elif [ -d $$dir ]; then \
- (cd $$dir; $(MAKE) $(FLAGS_TO_PASS)); \
+ (cd $$dir; $(MAKE) $(FLAGS_TO_PASS)) || exit 1; \
else true; fi; \
done
@@ -140,7 +140,7 @@ clean mostlyclean:
if [ "$$dir" = "." ]; then \
true; \
elif [ -d $$dir ]; then \
- (cd $$dir; $(MAKE) $(FLAGS_TO_PASS) $@); \
+ (cd $$dir; $(MAKE) $(FLAGS_TO_PASS) $@) || exit 1; \
else true; fi; \
done
@@ -150,7 +150,7 @@ distclean maintainer-clean realclean:
if [ "$$dir" = "." ]; then \
true; \
elif [ -d $$dir ]; then \
- (cd $$dir; $(MAKE) $(FLAGS_TO_PASS) $@); \
+ (cd $$dir; $(MAKE) $(FLAGS_TO_PASS) $@) || exit 1; \
else true; fi; \
done
rm -f Makefile config.cache config.log config.status
@@ -161,7 +161,7 @@ install:
if [ "$$dir" = "." ]; then \
true; \
elif [ -d $$dir ]; then \
- (cd $$dir; $(MAKE) $(FLAGS_TO_PASS) install); \
+ (cd $$dir; $(MAKE) $(FLAGS_TO_PASS) install) || exit 1; \
else true; fi; \
done