File: Makefile.am

package info (click to toggle)
meep-mpich2 1.7.0-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 25,824 kB
  • sloc: cpp: 27,370; python: 10,574; lisp: 1,213; makefile: 440; sh: 28
file content (104 lines) | stat: -rw-r--r-- 2,618 bytes parent folder | download | duplicates (5)
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
SRC = aniso_disp.cpp bench.cpp bragg_transmission.cpp			\
convergence_cyl_waveguide.cpp cylindrical.cpp flux.cpp harmonics.cpp	\
integrate.cpp known_results.cpp near2far.cpp one_dimensional.cpp	\
physical.cpp stress_tensor.cpp symmetry.cpp three_d.cpp			\
two_dimensional.cpp 2D_convergence.cpp h5test.cpp pml.cpp

EXTRA_DIST = $(SRC)

OBJ = $(SRC:.cpp=.o)
DAC = $(SRC:.cpp=.dac)
DONE = $(SRC:.cpp=.done)

LIBMEEP = $(top_builddir)/src/libmeep.la
AM_CPPFLAGS = -I$(top_srcdir)/src

.SUFFIXES = .dac .done

check_PROGRAMS = aniso_disp bench bragg_transmission convergence_cyl_waveguide cylindrical flux harmonics integrate known_results near2far one_dimensional physical stress_tensor symmetry three_d two_dimensional 2D_convergence h5test pml

aniso_disp_SOURCES = aniso_disp.cpp
aniso_disp_LDADD = $(LIBMEEP)

bench_SOURCES = bench.cpp
bench_LDADD = $(LIBMEEP)

bragg_transmission_SOURCES = bragg_transmission.cpp
bragg_transmission_LDADD = $(LIBMEEP)

convergence_cyl_waveguide_SOURCES = convergence_cyl_waveguide.cpp
convergence_cyl_waveguide_LDADD = $(LIBMEEP)

cylindrical_SOURCES = cylindrical.cpp
cylindrical_LDADD = $(LIBMEEP)

flux_SOURCES = flux.cpp
flux_LDADD = $(LIBMEEP)

harmonics_SOURCES = harmonics.cpp
harmonics_LDADD = $(LIBMEEP)

integrate_SOURCES = integrate.cpp
integrate_LDADD = $(LIBMEEP)

known_results_SOURCES = known_results.cpp
known_results_LDADD = $(LIBMEEP)

near2far_SOURCES = near2far.cpp
near2far_LDADD = $(LIBMEEP)

one_dimensional_SOURCES = one_dimensional.cpp
one_dimensional_LDADD = $(LIBMEEP)

physical_SOURCES = physical.cpp
physical_LDADD = $(LIBMEEP)

stress_tensor_SOURCES = stress_tensor.cpp
stress_tensor_LDADD = $(LIBMEEP)

symmetry_SOURCES = symmetry.cpp
symmetry_LDADD = $(LIBMEEP)

three_d_SOURCES = three_d.cpp
three_d_LDADD = $(LIBMEEP)

two_dimensional_SOURCES = two_dimensional.cpp
two_dimensional_LDADD = $(LIBMEEP)

2D_convergence_SOURCES = 2D_convergence.cpp
2D_convergence_LDADD = $(LIBMEEP)

h5test_SOURCES = h5test.cpp
h5test_LDADD = $(LIBMEEP)

pml_SOURCES = pml.cpp
pml_LDADD = $(LIBMEEP)

TESTS = aniso_disp bench bragg_transmission convergence_cyl_waveguide cylindrical flux harmonics integrate known_results near2far one_dimensional physical stress_tensor symmetry three_d two_dimensional 2D_convergence h5test pml 

if WITH_MPI
 LOG_COMPILER = $(RUNCODE)
endif
#LOG_COMPILER = $(RUNCODE)

# Note: this requires GNU make

.o.dac:
	$(CXXLINK) $< $(LIBMEEP) $(LIBS)

$(DAC): $(LIBMEEP)

.dac.done:
	$(RUNCODE) ./$<
	touch $@

benchmark: bench
	$(RUNCODE) ./bench

dac: $(DAC)

clean-local::
	rm -f *.o *.dac debug_out_* *.done

distclean-local:
	rm -f *.h5