######################## -*- Mode: Makefile-Automake -*- ###################### ## ## Cforall Version 1.0.0 Copyright (C) 2015 University of Waterloo ## ## The contents of this file are covered under the licence agreement in the ## file "LICENCE" distributed with Cforall. ## ## Makefile.am -- ## ## Author : Thierry Delisle ## Created On : Fri Jun 16 10:57:34 2017 ## Last Modified By : ## Last Modified On : ## Update Count : 0 ############################################################################### repeats=10 max_time=10 N=10ul preempt=10_000ul REPEAT = ${abs_top_srcdir}/tools/repeat -s BUILD_FLAGS = -g -Wall -Wno-unused-function -quiet @CFA_FLAGS@ -debug -O2 -DN=${N} -DPREEMPTION_RATE=${preempt} CFLAGS = ${BUILD_FLAGS} CC = @CFA_BINDIR@/@CFA_NAME@ TESTS = barge block create disjoint processor stack wait yield .INTERMEDIATE: ${TESTS} all-local: ${TESTS:=.run} % : %.c ${CC} ${AM_V_GEN}${CC} ${CFLAGS} ${<} -o ${@} %.run : % @ time ${REPEAT} $(repeats) timeout ${max_time} ./${<} @ rm ${<} @ echo -e "${<}: SUCCESS\n"