Debian Codegraph @

doc/examples/Makefile.am

raw
1 #
2 # Written by Patrick Guio <[email protected]>
3 #
4
5 EXTRA_DIST = fixed-class.cpp fixed-point.h makefile.example io.data
6
7 AM_CPPFLAGS = -I$(srcdir) -I$(top_srcdir) -I$(top_builddir)
8 AM_CXXFLAGS = @CXX_DEBUG_FLAGS@
9 LDADD = -L$(top_builddir)/lib -lblitz
10
11 EXAMPLES = simple storage outer strideslice slicing debug output io dump xor \
12 cast range fixed
13
14 EXTRA_PROGRAMS = $(EXAMPLES)
15
16 simple_SOURCES = simple.cpp
17 storage_SOURCES = storage.cpp
18 outer_SOURCES = outer.cpp
19 strideslice_SOURCES = strideslice.cpp
20 slicing_SOURCES = slicing.cpp
21 debug_SOURCES = debug.cpp
22 output_SOURCES = output.cpp
23 io_SOURCES = io.cpp
24 dump_SOURCES = dump.cpp
25 xor_SOURCES = xor.cpp
26 cast_SOURCES = cast.cpp
27 range_SOURCES = range.cpp
28 fixed_SOURCES = fixed.cpp
29
30 %.texi :
31 sed -e 's/{/@{/' -e 's/}/@}/' $< | fold -s -w 80 > $@
32
33 %.out :
34 $(MAKE) $(AM_MAKEFLAGS) $(patsubst %.out,%$(EXEEXT),$@)
35 ./$(patsubst %.out,%$(EXEEXT),$@) 2>&1 | fold -s -w 80 > $@
36
37 simple.texi: simple.cpp
38 storage.texi: storage.cpp
39 outer.texi: outer.cpp
40 strideslice.texi: strideslice.cpp
41 slicing.texi: slicing.cpp
42 debug.texi: debug.cpp
43 output.texi: output.cpp
44 io.texi: io.cpp
45 dump.texi: dump.cpp
46 xor.texi: xor.cpp
47 cast.texi: cast.cpp
48 range.texi: range.cpp
49 fixed.texi: fixed.cpp
50 fixed-point.texi: fixed-point.h
51
52 simple.out: simple.cpp
53 storage.out: storage.cpp
54 outer.out: outer.cpp
55 strideslice.out: strideslice.cpp
56 slicing.out: slicing.cpp
57 debug.out: debug.cpp
58 output.out: output.cpp
59 io.out: io.cpp
60 dump.out: dump.cpp
61 xor.out: xor.cpp
62 cast.out: cast.cpp
63 range.out: range.cpp
64 fixed.out: fixed.cpp
65
66 texi: simple.texi storage.texi outer.texi strideslice.texi slicing.texi \
67 debug.texi output.texi io.texi dump.texi xor.texi cast.texi range.texi \
68 fixed.texi fixed-point.texi
69
70 out: simple.out storage.out outer.out strideslice.out slicing.out \
71 debug.out output.out io.out dump.out xor.out cast.out range.out fixed.out
72
73
74 clean-local:
75 -rm -rf *.ii *.ti cxx_repository Template.dir ii_files ti_files $(EXTRA_PROGRAMS) *.texi *.out core.[0-9]*
76
77