From 13ca6c9946aec9f15ee80da84195d357aced02d0 Mon Sep 17 00:00:00 2001 From: adamdunkels Date: Wed, 28 Nov 2007 12:53:39 +0000 Subject: [PATCH] It now says if it succeeded as well as failed --- examples/compile-platforms/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/compile-platforms/Makefile b/examples/compile-platforms/Makefile index 714553f11..485732287 100644 --- a/examples/compile-platforms/Makefile +++ b/examples/compile-platforms/Makefile @@ -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)