-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathmakefile
More file actions
35 lines (27 loc) · 1016 Bytes
/
makefile
File metadata and controls
35 lines (27 loc) · 1016 Bytes
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
#f77=ifort
#f77=mpif90
f77 =/usr/local/mpi/bin/mpif90
opt=-O3
#opt=-O3 -openmp
srs= sub_modules.f90 \
opencfd_ec3d_v1.16a.f90 \
sub_interfaces.f90 sub_init.f90 sub_Residual.f90 \
sub_flux_split.f90 sub_boundary.f90 sub_turbulence_BL.f90 \
sub_turbulence_SA.f90 sub_turbulence_NewSA.f90 sub_turbulence_SST.f90 \
sub_time_advance.f90 sub_update_buffer_mpi.f90 \
sub_Post.f90 sub_time_acceleraction.f90 \
sub_LU_SGS.f90 \
sub_IO.f90 sub_geometry.f90 \
sub_partation_mpi.f90 sub_convert_inp.f90 \
sub_read_parameter.f90 sub_scheme.f90 sub_comput_dw.f90 \
sub_debug.f90 sub_filtering.f90 sub_boundary_user.f90 \
sub_udate_Meshlink_mpi.f90 \
sub_Finite_Difference1.f90 sub_Finite_Difference2.f90 \
sub_Post_timeAverage.f90 sub_limitflow.f90
OBJS=$(srs:.f90=.o)
%.o:%.f90
$(f77) $(opt) -c $<
default: $(OBJS)
$(f77) $(opt) -o opencfd-ec1.16a.out $(OBJS)
clean:
rm -f *.out *.o work.* *.pc *.mod