examples: Make make return an error if one of the examples fails compile

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
This commit is contained in:
Daniel Willmann 2013-07-11 09:51:32 +01:00
parent d10be60e30
commit b0c9d1f818
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ DIST_SUBDIRS += $(EXAMPLES_SUBDIRS)
examples: all-am
@for d in $(EXAMPLES_SUBDIRS); do \
echo "Making examples in $$d"; \
$(MAKE) $(AM_MAKEFLAGS) -C $$d examples; \
$(MAKE) $(AM_MAKEFLAGS) -C $$d examples || exit 1; \
done
install-examples: