Changeset 66f8528 for src/examples
- Timestamp:
- Dec 15, 2016, 5:16:42 PM (9 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:
- 43385ca, f7ff3fb
- Parents:
- 5802a4f (diff), 596f987b (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - Location:
- src/examples
- Files:
-
- 3 added
- 2 edited
-
ArrayN.c (added)
-
Bench.c (added)
-
Makefile.am (modified) (1 diff)
-
Makefile.in (modified) (11 diffs)
-
zero_one.c (added)
Legend:
- Unmodified
- Added
- Removed
-
src/examples/Makefile.am
r5802a4f r66f8528 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
r5802a4f r66f8528 36 36 PRE_UNINSTALL = : 37 37 POST_UNINSTALL = : 38 build_triplet = @build@ 39 host_triplet = @host@ 38 40 noinst_PROGRAMS = fstream_test$(EXEEXT) vector_test$(EXEEXT) \ 39 avl_test$(EXEEXT) 41 avl_test$(EXEEXT) Bench$(EXEEXT) 40 42 subdir = src/examples 41 43 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in … … 49 51 CONFIG_CLEAN_VPATH_FILES = 50 52 PROGRAMS = $(noinst_PROGRAMS) 53 Bench_SOURCES = Bench.c 54 Bench_OBJECTS = Bench.$(OBJEXT) 55 Bench_LDADD = $(LDADD) 51 56 am_avl_test_OBJECTS = avl_test.$(OBJEXT) avl0.$(OBJEXT) avl1.$(OBJEXT) \ 52 57 avl2.$(OBJEXT) avl3.$(OBJEXT) avl4.$(OBJEXT) \ … … 84 89 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) 85 90 am__v_GEN_0 = @echo " GEN " $@; 86 SOURCES = $(avl_test_SOURCES) $(fstream_test_SOURCES) \91 SOURCES = Bench.c $(avl_test_SOURCES) $(fstream_test_SOURCES) \ 87 92 $(vector_test_SOURCES) 88 DIST_SOURCES = $(avl_test_SOURCES) $(fstream_test_SOURCES) \93 DIST_SOURCES = Bench.c $(avl_test_SOURCES) $(fstream_test_SOURCES) \ 89 94 $(vector_test_SOURCES) 90 95 ETAGS = etags … … 101 106 BACKEND_CC = @BACKEND_CC@ 102 107 CC = @CFA_BINDIR@/cfa 108 CCAS = @CCAS@ 109 CCASDEPMODE = @CCASDEPMODE@ 110 CCASFLAGS = @CCASFLAGS@ 103 111 CCDEPMODE = @CCDEPMODE@ 104 112 CFA_BACKEND_CC = @CFA_BACKEND_CC@ … … 110 118 111 119 # applies to both programs 112 CFLAGS = -g -Wall -Wno-unused-function # TEMPORARY: does not build with -O2120 CFLAGS = 113 121 CPP = @CPP@ 114 122 CPPFLAGS = @CPPFLAGS@ … … 137 145 LIBS = @LIBS@ 138 146 LTLIBOBJS = @LTLIBOBJS@ 147 MACHINE_TYPE = @MACHINE_TYPE@ 139 148 MAINT = @MAINT@ 140 149 MAKEINFO = @MAKEINFO@ … … 168 177 am__untar = @am__untar@ 169 178 bindir = @bindir@ 179 build = @build@ 170 180 build_alias = @build_alias@ 181 build_cpu = @build_cpu@ 182 build_os = @build_os@ 183 build_vendor = @build_vendor@ 171 184 builddir = @builddir@ 172 185 datadir = @datadir@ … … 175 188 dvidir = @dvidir@ 176 189 exec_prefix = @exec_prefix@ 190 host = @host@ 177 191 host_alias = @host_alias@ 192 host_cpu = @host_cpu@ 193 host_os = @host_os@ 194 host_vendor = @host_vendor@ 178 195 htmldir = @htmldir@ 179 196 includedir = @includedir@ … … 199 216 top_builddir = @top_builddir@ 200 217 top_srcdir = @top_srcdir@ 218 AM_CFLAGS = -g -Wall -Wno-unused-function -O2 201 219 fstream_test_SOURCES = fstream_test.c 202 220 vector_test_SOURCES = vector_int.c array.c vector_test.c … … 255 273 -rm -f *.tab.c 256 274 275 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Bench.Po@am__quote@ 257 276 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/array.Po@am__quote@ 258 277 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/avl-private.Po@am__quote@ … … 580 599 581 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 582 609 # Tell versions [3.59,3.63) of GNU make to not export all variables. 583 610 # Otherwise a system limit (for SysV at least) may be exceeded.
Note:
See TracChangeset
for help on using the changeset viewer.