source: src/examples/Makefile.am @ 38a0a4d

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 38a0a4d was 38a0a4d, checked in by Thierry Delisle <tdelisle@…>, 7 years ago

Implemented proper makefile rule for coroutine benchmark

  • Property mode set to 100644
File size: 1.2 KB
RevLine 
[00cc023]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##
[6e3ae00]8## Makefile.am --
[00cc023]9##
10## Author           : Peter A. Buhr
11## Created On       : Sun May 31 09:08:15 2015
12## Last Modified By : Peter A. Buhr
[d3b7937]13## Last Modified On : Mon Jan 25 22:31:42 2016
14## Update Count     : 25
[00cc023]15###############################################################################
16
17# applies to both programs
[38a0a4d]18CFLAGS =
19AM_CFLAGS = -g -Wall -Wno-unused-function -O2
[00cc023]20CC = @CFA_BINDIR@/cfa
21
[38a0a4d]22noinst_PROGRAMS = fstream_test vector_test avl_test Bench # build but do not install
[d3b7937]23fstream_test_SOURCES = fstream_test.c
24vector_test_SOURCES = vector_int.c array.c vector_test.c
[6e3ae00]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
[38a0a4d]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.