Source

LIME / project / Makefile

Full commit
t=simple lit code flex mdim opt-consumer vrdf-consumer vrdf-producer csdf-strict csdf-relax coll bdf-fold bdf-unfold clone ctor-internal ctor-external delay-internal delay-external inst karma vrdf-multi inplace
s=$(foreach x,$t,$x-test)

all clean distclean test-full.dot: $s
	for x in $^; do\
	( cd $$x;\
	  FLAVOUR="-vdo_sleep=1" SLIMERFLAGS=-d make $@;\
	  echo;\
	); done

check: $s
	for x in $^; do\
	( cd $$x;\
	  echo === $$x ===;\
	  ./test |head -20;\
	); done

vopt=--valid

pre-validate: $s
	for x in $^; do\
	( cd $$x;\
	  echo === $$x ===;\
	  xmllint --output /dev/null $(vopt) test.graph.xml;\
	); done

validate: $s
	for x in $^; do\
	( cd $$x;\
	  echo === $$x ===;\
	  xmllint --output /dev/null $(vopt) test.gxf;\
	); done