Skip to content
Snippets Groups Projects
Commit ac16b985 authored by edgrif's avatar edgrif
Browse files

change makefile to bomb out if any of sub-makes fail.

parent ff0cf9f7
No related branches found
No related tags found
No related merge requests found
......@@ -51,5 +51,13 @@ ALL_SERVER_DIRS = acedb das
build_servers: forcemake
@for d in $(ALL_SERVER_DIRS); do \
(cd $$d ; echo ; echo 'make all in '$$d ; $(MAKE) 'all' ; echo) ; \
echo ; \
RC=0 ; \
(cd $$d ; echo 'make all in '$$d ; $(MAKE) 'all') || RC=1 ; \
if [ $$RC -eq 1 ] ; \
then \
echo "*** make in $$d failed ***" ; \
exit 1 ; \
fi ; \
echo ; \
done
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment