Changes in src/tests/Makefile.am [7fb69f6:a4248de1]
- File:
-
- 1 edited
-
src/tests/Makefile.am (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/tests/Makefile.am
r7fb69f6 ra4248de1 30 30 # applies to both programs 31 31 AM_CFLAGS = $(if $(test), 2> $(test), ) \ 32 -XCFA \ 33 -t \ 34 -B${abs_top_builddir}/src/driver \ 32 35 -g \ 33 36 -Wall \ 34 37 -Wno-unused-function \ 35 38 -quiet @CFA_FLAGS@ \ 39 -I. \ 36 40 -DIN_DIR="${srcdir}/.in/" \ 37 @BUILD_IN_TREE_FLAGS@ 41 -L${abs_top_builddir}/src/libcfa \ 42 -I${abs_top_srcdir}/src/libcfa \ 43 -I${abs_top_srcdir}/src/libcfa/containers \ 44 -I${abs_top_srcdir}/src/libcfa/concurrency \ 45 -I${abs_top_srcdir}/src/libcfa/stdhdr 38 46 39 47 if !BUILD_DEBUG … … 47 55 endif 48 56 49 CC = @CFACC@57 CC = ${abs_top_builddir}/src/driver/cfa 50 58 51 59 .PHONY : list … … 71 79 @+${TEST_PY} --debug=${debug} -Iconcurrent 72 80 81 # SKULLDUGGERY like libcfa/Makefile.am prevent extensionless headers from being generated 82 # however, here it is more complicated because it must match the dependencies based on how 83 # they are generated by gcc 84 headers = $(shell find $(top_srcdir)/src/libcfa -type f ! -name "*.*") 85 headers_real = $(shell realpath --relative-to=$(top_srcdir)/src/libcfa $(headers)) 86 headers_deps = $(addprefix %/, $(headers_real)) 87 $(headers_deps) : 88 echo "Dummy rule, should never be called" 89 90 # %/stdlib: 91 # echo "Dummy rule, should never be called" 92 93 # implicit rule so not all test require a rule 73 94 % : %.c $(CC) 74 echo "Compiling" 75 $(COMPILE) ${<} -o ${@} 76 77 /home/tdelisle/workspace/clean-cforall/main/build/../src/libcfa/stdlib: 78 echo "Caught" 79 95 echo $(headers_deps) 96 $(COMPILE) $(abspath ${<}) -o ${@} 80 97 81 98 declarationSpecifier: declarationSpecifier.c $(CC)
Note:
See TracChangeset
for help on using the changeset viewer.