It now says if it succeeded as well as failed

This commit is contained in:
adamdunkels 2007-11-28 12:53:39 +00:00
parent b003f32e27
commit 13ca6c9946

View file

@ -11,7 +11,7 @@ native: native.platform netsim.platform minimal-net.platform
@mkdir -p $*
@cp *.c $*
@cp Makefile.platform $*/Makefile
@(echo; echo ------------------- $* -------------------; \
cd $* ; ($(MAKE) TARGET=$* >& /dev/null) ; \
$(MAKE) TARGET=$*) >& $*.output || \
(echo; echo "$* failed"; exit 1)
@((echo; echo ------------------- $* -------------------; \
cd $* ; ($(MAKE) TARGET=$* >& /dev/null) ; \
$(MAKE) TARGET=$*) >& $*.output && echo "$* succeeded") || \
(echo; echo "$* failed"; exit 1)