######################## -*- 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 : Peter A. Buhr ## Created On : Sun May 31 09:08:15 2015 ## Last Modified By : Peter A. Buhr ## Last Modified On : Sat Jul 9 11:23:24 2016 ## Update Count : 35 ############################################################################### # applies to both programs CFLAGS = -g -Wall -Wno-unused-function @CFA_FLAGS@ # TEMPORARY: does not build with -O2 CC = @CFA_BINDIR@/cfa .PHONY : list EXTRA_PROGRAMS = fstream_test vector_test avl_test constant0-1DP constant0-1ND constant0-1NDDP # build but do not install fstream_test_SOURCES = fstream_test.c vector_test_SOURCES = vector/vector_int.c vector/array.c vector/vector_test.c avl_test_SOURCES = avltree/avl_test.c avltree/avl0.c avltree/avl1.c avltree/avl2.c avltree/avl3.c avltree/avl4.c avltree/avl-private.c all-local : +python test.py vector_test avl_test operators numericConstants expression enum asmName array typeof cast dtor-early-exit init_once all-tests : +python test.py --all clean-local : -rm -f ${EXTRA_PROGRAMS} list : +python test.py --list constant0-1DP : constant0-1.c ${CC} ${CFLAGS} -DDUPS ${<} -o ${@} constant0-1ND : constant0-1.c ${CC} ${CFLAGS} -DNEWDECL ${<} -o ${@} constant0-1NDDP : constant0-1.c ${CC} ${CFLAGS} -DNEWDECL -DDUPS ${<} -o ${@} dtor-early-exit-ERR1: dtor-early-exit.c ${CC} ${CFLAGS} -DERR1 ${<} -o ${@} dtor-early-exit-ERR2: dtor-early-exit.c ${CC} ${CFLAGS} -DERR2 ${<} -o ${@} gccExtensions : gccExtensions.c ${CC} ${CFLAGS} -CFA -XCFA -p ${<} -o ${@} extension : extension.c ${CC} ${CFLAGS} -CFA -XCFA -p ${<} -o ${@}