DIRECTORY=daisychain haystack PLOT=haystack/fruit_python daisychain/likes_python .PHONY : runcheck clean plot check clean: @for i in $(DIRECTORY); do \ here=`pwd`; \ cd $$i; \ make clean; \ cd $$here; \ done; rm -rf allout.tmp runcheck: @echo 'running libabac SCALING testing...' @for i in $(DIRECTORY); do \ here=`pwd`; \ printf "\n ==> RUN on %s\n" "$$i" >> allout.tmp; \ cd $$i; \ make -s runcheck >> ../allout.tmp 2>/dev/null; \ cd $$here; \ done; @if test `diff -q allout.save allout.tmp |wc -l ` -eq 0 ; \ then echo " PASSED"; \ else echo " ERROR:got changes!!!"; \ fi plot: @for i in $(PLOT); do \ here=`pwd`; \ cd $$i; \ make plot; \ cd $(here); \ done;