-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathMakefile
173 lines (153 loc) · 6.95 KB
/
Makefile
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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
all:
-@make -C ${MEF90_DIR} MEF90
include ${PETSC_DIR}/lib/petsc/conf/variables
include ${PETSC_DIR}/lib/petsc/conf/rules
include ${MEF90_DIR}/Makefile.include
m_MEF90_Parameters.F90: ${MEF90_DIR}/mef90version.h
MEF90: m_MEF90.o
m_MEF90.o: ${MEF90_DIR}/MEF90/m_MEF90.F90 \
m_MEF90_Ctx.o \
m_MEF90_LinAlg.o \
m_MEF90_MPI.o \
m_MEF90_Parameters.o \
m_MEF90_Materials.o \
m_MEF90_Elements.o \
m_MEF90_EXO.o \
m_MEF90_DMPlex.o \
m_MEF90_Utils.o \
m_MEF90_MassMatrixImplementation_MEF90Element2D_Scal.o \
m_MEF90_MassMatrixImplementation_MEF90Element2D_Vect.o \
m_MEF90_MassMatrixImplementation_MEF90Element3D_Scal.o \
m_MEF90_MassMatrixImplementation_MEF90Element3D_Vect.o \
m_MEF90_MassMatrixInterface.o \
m_MEF90_NormsImplementation_MEF90Element2D_Scal.o \
m_MEF90_NormsImplementation_MEF90Element2D_Vect.o \
m_MEF90_NormsImplementation_MEF90Element3D_Scal.o \
m_MEF90_NormsImplementation_MEF90Element3D_Vect.o \
m_MEF90_NormsInterface.o
@echo " $<"
-@${FC} ${FC_FLAGS} ${FCPPFLAGS} -I${MEF90_INCLUDE} -c -o $@ $<
m_MEF90_Ctx.o: ${MEF90_DIR}/MEF90/m_MEF90_Ctx.F90 \
m_MEF90_Parameters.o m_MEF90_Utils.o m_MEF90_Elements.o
@echo " $<"
-@${FC} ${FC_FLAGS} ${FCPPFLAGS} -I${MEF90_INCLUDE} -c -o $@ $<
m_MEF90_DMPlex.o: ${MEF90_DIR}/MEF90/m_MEF90_DMPlex.F90 \
m_MEF90_Elements.o m_MEF90_Ctx.o
@echo " $<"
-@${FC} ${FC_FLAGS} ${FCPPFLAGS} -I${MEF90_INCLUDE} -c -o $@ $<
m_MEF90_Elements.o: ${MEF90_DIR}/MEF90/m_MEF90_Elements.F90 \
m_MEF90_LinAlg.o \
m_MEF90_Parameters.o \
m_MEF90_Utils.o
@echo " $<"
-@${FC} ${FC_FLAGS} ${FCPPFLAGS} -I${MEF90_INCLUDE} -c -o $@ $<
m_MEF90_EXO.o: ${MEF90_DIR}/MEF90/m_MEF90_EXO.F90 m_MEF90_Ctx.o \
m_MEF90_DMPlex.o \
m_MEF90_Elements.o \
m_MEF90_Parameters.o \
m_MEF90_Utils.o
@echo " $<"
-@${FC} ${FC_FLAGS} ${FCPPFLAGS} -I${MEF90_INCLUDE} -c -o $@ $<
m_MEF90_LinAlg.o: ${MEF90_DIR}/MEF90/m_MEF90_LinAlg.F90 \
m_MEF90_Parameters.o \
m_MEF90_Utils.o
@echo " $<"
-@${FC} ${FC_FLAGS} ${FCPPFLAGS} -I${MEF90_INCLUDE} -c -o $@ $<
###
### MassMatrix for each element type
###
m_MEF90_MassMatrixImplementation_MEF90Element2D_Scal.o: ${MEF90_DIR}/MEF90/m_MEF90_MassMatrixImplementation.F90 \
m_MEF90_Elements.o \
m_MEF90_Parameters.o \
m_MEF90_Utils.o \
m_MEF90_DMPlex.o
@echo " $< MEF90Element2DScal"
-@${FC} ${FC_FLAGS} ${FCPPFLAGS} -I${MEF90_INCLUDE} -DMEF90_ELEMENTTYPE=MEF90Element2DScal -c -o $@ $<
m_MEF90_MassMatrixImplementation_MEF90Element2D_Vect.o: ${MEF90_DIR}/MEF90/m_MEF90_MassMatrixImplementation.F90 \
m_MEF90_Elements.o \
m_MEF90_Parameters.o \
m_MEF90_Utils.o \
m_MEF90_DMPlex.o
@echo " $< MEF90Element2DVect"
-@${FC} ${FC_FLAGS} ${FCPPFLAGS} -I${MEF90_INCLUDE} -DMEF90_ELEMENTTYPE=MEF90Element2DVect -c -o $@ $<
m_MEF90_MassMatrixImplementation_MEF90Element3D_Scal.o: ${MEF90_DIR}/MEF90/m_MEF90_MassMatrixImplementation.F90 \
m_MEF90_Elements.o \
m_MEF90_Parameters.o \
m_MEF90_Utils.o \
m_MEF90_DMPlex.o
@echo " $< MEF90Element3DScal"
-@${FC} ${FC_FLAGS} ${FCPPFLAGS} -I${MEF90_INCLUDE} -DMEF90_ELEMENTTYPE=MEF90Element3DScal -c -o $@ $<
m_MEF90_MassMatrixImplementation_MEF90Element3D_Vect.o: ${MEF90_DIR}/MEF90/m_MEF90_MassMatrixImplementation.F90 \
m_MEF90_Elements.o \
m_MEF90_Parameters.o \
m_MEF90_Utils.o \
m_MEF90_DMPlex.o
@echo " $< MEF90Element3DVect"
-@${FC} ${FC_FLAGS} ${FCPPFLAGS} -I${MEF90_INCLUDE} -DMEF90_ELEMENTTYPE=MEF90Element3DVect -c -o $@ $<
m_MEF90_MassMatrixInterface.o: ${MEF90_DIR}/MEF90/m_MEF90_MassMatrixInterface.F90 m_MEF90_LinAlg.o \
m_MEF90_MassMatrixImplementation_MEF90Element2D_Scal.o \
m_MEF90_MassMatrixImplementation_MEF90Element2D_Vect.o \
m_MEF90_MassMatrixImplementation_MEF90Element3D_Scal.o \
m_MEF90_MassMatrixImplementation_MEF90Element3D_Vect.o \
m_MEF90_Parameters.o m_MEF90_Utils.o
@echo " $<"
-@${FC} ${FC_FLAGS} ${FCPPFLAGS} -I${MEF90_INCLUDE} -c -o $@ $<
###
### Norms for each element type
###
m_MEF90_NormsImplementation_MEF90Element2D_Scal.o: ${MEF90_DIR}/MEF90/m_MEF90_NormsImplementation.F90 \
m_MEF90_Elements.o \
m_MEF90_Parameters.o \
m_MEF90_Utils.o \
m_MEF90_DMPlex.o
@echo " $< MEF90Element2DScal"
-@${FC} ${FC_FLAGS} ${FCPPFLAGS} -I${MEF90_INCLUDE} -DMEF90_ELEMENTTYPE=MEF90Element2DScal -DMEF90_ELEMENTTYPE_SCALAR -DMEF90_DIM=2 -c -o $@ $<
m_MEF90_NormsImplementation_MEF90Element2D_Vect.o: ${MEF90_DIR}/MEF90/m_MEF90_NormsImplementation.F90 \
m_MEF90_Elements.o \
m_MEF90_Parameters.o \
m_MEF90_Utils.o \
m_MEF90_DMPlex.o
@echo " $< MEF90Element2DVect"
-@${FC} ${FC_FLAGS} ${FCPPFLAGS} -I${MEF90_INCLUDE} -DMEF90_ELEMENTTYPE=MEF90Element2DVect -DMEF90_ELEMENTTYPE_VECT -DMEF90_DIM=2 -c -o $@ $<
m_MEF90_NormsImplementation_MEF90Element3D_Scal.o: ${MEF90_DIR}/MEF90/m_MEF90_NormsImplementation.F90 \
m_MEF90_Elements.o \
m_MEF90_Parameters.o \
m_MEF90_Utils.o \
m_MEF90_DMPlex.o
@echo " $< MEF90Element3DScal"
-@${FC} ${FC_FLAGS} ${FCPPFLAGS} -I${MEF90_INCLUDE} -DMEF90_ELEMENTTYPE=MEF90Element3DScal -DMEF90_ELEMENTTYPE_SCALAR -DMEF90_DIM=3 -c -o $@ $<
m_MEF90_NormsImplementation_MEF90Element3D_Vect.o: ${MEF90_DIR}/MEF90/m_MEF90_NormsImplementation.F90 \
m_MEF90_Elements.o \
m_MEF90_Parameters.o \
m_MEF90_Utils.o \
m_MEF90_DMPlex.o
@echo " $< MEF90Element3DVect"
-@${FC} ${FC_FLAGS} ${FCPPFLAGS} -I${MEF90_INCLUDE} -DMEF90_ELEMENTTYPE=MEF90Element3DVect -DMEF90_ELEMENTTYPE_VECT -DMEF90_DIM=3 -c -o $@ $<
m_MEF90_NormsInterface.o: ${MEF90_DIR}/MEF90/m_MEF90_NormsInterface.F90 m_MEF90_LinAlg.o \
m_MEF90_NormsImplementation_MEF90Element2D_Scal.o \
m_MEF90_NormsImplementation_MEF90Element2D_Vect.o \
m_MEF90_NormsImplementation_MEF90Element3D_Scal.o \
m_MEF90_NormsImplementation_MEF90Element3D_Vect.o \
m_MEF90_Parameters.o m_MEF90_Utils.o
@echo " $<"
-@${FC} ${FC_FLAGS} ${FCPPFLAGS} -I${MEF90_INCLUDE} -c -o $@ $<
m_MEF90_Materials.o: ${MEF90_DIR}/MEF90/m_MEF90_Materials.F90 \
m_MEF90_Ctx.o \
m_MEF90_DMPlex.o \
m_MEF90_LinAlg.o \
m_MEF90_Parameters.o \
m_MEF90_Utils.o
@echo " $<"
-@${FC} ${FC_FLAGS} ${FCPPFLAGS} -I${MEF90_INCLUDE} -c -o $@ $<
m_MEF90_MPI.o: ${MEF90_DIR}/MEF90/m_MEF90_MPI.F90 \
m_MEF90_Parameters.o
@echo " $<"
-@${FC} ${FC_FLAGS} ${FCPPFLAGS} -I${MEF90_INCLUDE} -c -o $@ $<
m_MEF90_Parameters.o: ${MEF90_DIR}/MEF90/m_MEF90_Parameters.F90
@echo " $<"
-@${FC} ${FC_FLAGS} ${FCPPFLAGS} -I${MEF90_INCLUDE} -c -o $@ $<
m_MEF90_Utils.o: ${MEF90_DIR}/MEF90/m_MEF90_Utils.F90 \
m_MEF90_MPI.o \
m_MEF90_Parameters.o
@echo " $<"
-@${FC} ${FC_FLAGS} ${FCPPFLAGS} -I${MEF90_INCLUDE} -c -o $@ $<