source: src/examples/Makefile.am @ 8b001bd

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsdeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newwith_gc
Last change on this file since 8b001bd was df47e2f, checked in by Thierry Delisle <tdelisle@…>, 8 years ago

Added partial support for renaming cfa through autoconf (using --program-transform-name)

  • Property mode set to 100644
File size: 1.2 KB
Line 
1######################## -*- Mode: Makefile-Automake -*- ######################
2##
3## Cforall Version 1.0.0 Copyright (C) 2015 University of Waterloo
4##
5## The contents of this file are covered under the licence agreement in the
6## file "LICENCE" distributed with Cforall.
7##
8## Makefile.am --
9##
10## Author           : Peter A. Buhr
11## Created On       : Sun May 31 09:08:15 2015
12## Last Modified By : Peter A. Buhr
13## Last Modified On : Mon Jan 25 22:31:42 2016
14## Update Count     : 25
15###############################################################################
16
17# applies to both programs
18CFLAGS =
19AM_CFLAGS = -g -Wall -Wno-unused-function -O2
20CC = @CFA_BINDIR@/@CFA_NAME@
21
22noinst_PROGRAMS = fstream_test vector_test avl_test Bench # build but do not install
23fstream_test_SOURCES = fstream_test.c
24vector_test_SOURCES = vector_int.c array.c vector_test.c
25avl_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
26
27Bench : Bench.c
28        @for ccflags in "-debug" "-nodebug"; do \
29                echo ${CC} ${AM_CFLAGS} ${CFLAGS} $${ccflags} -lrt Bench.c;\
30                ${CC} ${AM_CFLAGS} ${CFLAGS} $${ccflags} -lrt Bench.c;\
31                ./a.out ; \
32        done ; \
33        rm -f ./a.out ;
Note: See TracBrowser for help on using the repository browser.