File: Makefile.am

package info (click to toggle)
blitz%2B%2B 1%3A1.0.1%2Bds-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 8,016 kB
  • sloc: cpp: 56,889; python: 1,939; fortran: 1,510; f90: 852; makefile: 828; sh: 309
file content (43 lines) | stat: -rw-r--r-- 1,002 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#
# Written by Patrick Guio <patrick.guio@fys.uio.no>
#

docdir = $(prefix)/doc/blitz/examples
doc_DATA = fixed.cpp outer.log output.log simple.log storage.log

EXTRA_DIST = $(doc_DATA)

AM_CPPFLAGS = -I$(srcdir) -I$(top_srcdir) -I$(top_builddir)
AM_CXXFLAGS = @CXX_DEBUG_FLAGS@
LDADD = -L$(top_builddir)/lib -lblitz

EXAMPLES = 	simple slicing debug xor cast dump output outer \
		strideslice range storage

EXTRA_PROGRAMS =  $(EXAMPLES)

simple_SOURCES = simple.cpp
slicing_SOURCES = slicing.cpp
debug_SOURCES = debug.cpp
xor_SOURCES = xor.cpp
cast_SOURCES = cast.cpp
dump_SOURCES = dump.cpp
output_SOURCES = output.cpp
outer_SOURCES = outer.cpp
strideslice_SOURCES = strideslice.cpp
range_SOURCES = range.cpp
storage_SOURCES = storage.cpp

check-examples: $(EXTRA_PROGRAMS)
	@echo Running test suite...
	@for prog in $(EXTRA_PROGRAMS) ; do \
		echo $$prog && (./$$prog > /dev/null 2>&1) || exit 1; \
		done
	@echo All tests passed.

all-am:

clean-local:
	-rm -rf cxx_repository $(EXTRA_PROGRAMS)