2
# Written by Patrick Guio <patrick.guio@fys.uio.no>
5
EXTRA_DIST = stencil4.f profile.cpp tiny2.cpp tiny3.cpp
7
AM_CPPFLAGS = -I$(srcdir) -I$(top_srcdir) -I$(top_builddir) $(BOOST_CPPFLAGS)
8
LDADD = -L$(top_builddir)/lib -lblitz
10
EXTRA_PROGRAMS = array cartesian cast complex-test convolve \
11
deriv fixed io iter matmult nested numinquire outer \
12
polymorph prettyprint rand2 random reduce simple \
13
slicing stencil2 storage tiny \
15
# cfd curldiv diff erf indirect pauli pick qcd rangexpr stencil3 stencil stencilet transform
17
array_SOURCES = array.cpp
18
cartesian_SOURCES = cartesian.cpp
19
cast_SOURCES = cast.cpp
20
#cfd_SOURCES = cfd.cpp
21
complex_test_SOURCES = complex-test.cpp
22
convolve_SOURCES = convolve.cpp
23
#curldiv_SOURCES = curldiv.cpp
24
deriv_SOURCES = deriv.cpp
25
#diff_SOURCES = diff.cpp
26
#erf_SOURCES = erf.cpp
27
fixed_SOURCES = fixed.cpp
28
#indirect_SOURCES = indirect.cpp
30
iter_SOURCES = iter.cpp
31
matmult_SOURCES = matmult.cpp
32
nested_SOURCES = nested.cpp
33
numinquire_SOURCES = numinquire.cpp
34
outer_SOURCES = outer.cpp
35
#pauli_SOURCES = pauli.cpp
36
#pick_SOURCES = pick.cpp
37
polymorph_SOURCES = polymorph.cpp
38
prettyprint_SOURCES = prettyprint.cpp
39
#profile_SOURCES = profile.cpp
40
#qcd_SOURCES = qcd.cpp
41
rand2_SOURCES = rand2.cpp
42
random_SOURCES = random.cpp
43
#rangexpr_SOURCES = rangexpr.cpp
44
reduce_SOURCES = reduce.cpp
45
simple_SOURCES = simple.cpp
46
slicing_SOURCES = slicing.cpp
47
stencil2_SOURCES = stencil2.cpp
48
#stencil3_SOURCES = stencil3.cpp
49
#stencil_SOURCES = stencil.cpp
50
#stencilet_SOURCES = stencilet.cpp
51
storage_SOURCES = storage.cpp
52
#tiny2_SOURCES = tiny2.cpp
53
#tiny3_SOURCES = tiny3.cpp
54
tiny_SOURCES = tiny.cpp
55
#transform_SOURCES = transform.cpp
56
useret_SOURCES = useret.cpp
57
where_SOURCES = where.cpp
58
whitt_SOURCES = whitt.cpp
60
#compile: $(EXTRA_PROGRAMS)
62
check-examples: $(EXTRA_PROGRAMS)
63
@echo Running examples...
64
@for prog in $(EXTRA_PROGRAMS) ; do \
65
echo $$prog && (./$$prog > /dev/null 2>&1) || exit 1; \
67
@echo All tests passed.
72
-rm -rf *.ii *.ti cxx_repository Template.dir ii_files ti_files $(EXTRA_PROGRAMS)