Changeset 38a0a4d for src/examples
- Timestamp:
- Dec 15, 2016, 11:19:35 AM (8 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 12d44bb
- Parents:
- c7800bfc
- Location:
- src/examples
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/examples/Makefile.am
rc7800bfc r38a0a4d 16 16 17 17 # applies to both programs 18 CFLAGS = -g -Wall -Wno-unused-function # TEMPORARY: does not build with -O2 18 CFLAGS = 19 AM_CFLAGS = -g -Wall -Wno-unused-function -O2 19 20 CC = @CFA_BINDIR@/cfa 20 21 21 noinst_PROGRAMS = fstream_test vector_test avl_test # build but do not install22 noinst_PROGRAMS = fstream_test vector_test avl_test Bench # build but do not install 22 23 fstream_test_SOURCES = fstream_test.c 23 24 vector_test_SOURCES = vector_int.c array.c vector_test.c 24 25 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 26 27 Bench : 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 ; -
src/examples/Makefile.in
rc7800bfc r38a0a4d 39 39 host_triplet = @host@ 40 40 noinst_PROGRAMS = fstream_test$(EXEEXT) vector_test$(EXEEXT) \ 41 avl_test$(EXEEXT) 41 avl_test$(EXEEXT) Bench$(EXEEXT) 42 42 subdir = src/examples 43 43 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in … … 51 51 CONFIG_CLEAN_VPATH_FILES = 52 52 PROGRAMS = $(noinst_PROGRAMS) 53 Bench_SOURCES = Bench.c 54 Bench_OBJECTS = Bench.$(OBJEXT) 55 Bench_LDADD = $(LDADD) 53 56 am_avl_test_OBJECTS = avl_test.$(OBJEXT) avl0.$(OBJEXT) avl1.$(OBJEXT) \ 54 57 avl2.$(OBJEXT) avl3.$(OBJEXT) avl4.$(OBJEXT) \ … … 86 89 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) 87 90 am__v_GEN_0 = @echo " GEN " $@; 88 SOURCES = $(avl_test_SOURCES) $(fstream_test_SOURCES) \91 SOURCES = Bench.c $(avl_test_SOURCES) $(fstream_test_SOURCES) \ 89 92 $(vector_test_SOURCES) 90 DIST_SOURCES = $(avl_test_SOURCES) $(fstream_test_SOURCES) \93 DIST_SOURCES = Bench.c $(avl_test_SOURCES) $(fstream_test_SOURCES) \ 91 94 $(vector_test_SOURCES) 92 95 ETAGS = etags … … 115 118 116 119 # applies to both programs 117 CFLAGS = -g -Wall -Wno-unused-function # TEMPORARY: does not build with -O2120 CFLAGS = 118 121 CPP = @CPP@ 119 122 CPPFLAGS = @CPPFLAGS@ … … 213 216 top_builddir = @top_builddir@ 214 217 top_srcdir = @top_srcdir@ 218 AM_CFLAGS = -g -Wall -Wno-unused-function -O2 215 219 fstream_test_SOURCES = fstream_test.c 216 220 vector_test_SOURCES = vector_int.c array.c vector_test.c … … 269 273 -rm -f *.tab.c 270 274 275 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Bench.Po@am__quote@ 271 276 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/array.Po@am__quote@ 272 277 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/avl-private.Po@am__quote@ … … 594 599 595 600 601 Bench : Bench.c 602 @for ccflags in "-debug" "-nodebug"; do \ 603 echo ${CC} ${AM_CFLAGS} ${CFLAGS} $${ccflags} -lrt Bench.c;\ 604 ${CC} ${AM_CFLAGS} ${CFLAGS} $${ccflags} -lrt Bench.c;\ 605 ./a.out ; \ 606 done ; \ 607 rm -f ./a.out ; 608 596 609 # Tell versions [3.59,3.63) of GNU make to not export all variables. 597 610 # Otherwise a system limit (for SysV at least) may be exceeded.
Note: See TracChangeset
for help on using the changeset viewer.