1 |
cnh |
1.1 |
# FMKMF_F90 not set: using f90 |
2 |
|
|
# FMKMF_SFTAG not set: using f90 |
3 |
|
|
# FMKMF_SPATH not set: using . |
4 |
|
|
# FMKMF_LINKOPTS not set: using no link options |
5 |
|
|
# Using compile cmd ifort from cmd line |
6 |
|
|
# Using Link options L/usr/lib/gcc/i386-redhat-linux/4.0.1 -L/usr/lib/gcc/i386-redhat-linux/4.0.1/../../.. -lstdc++ -lrt -ldl -L$(EDIR)/lib/libg/Linux.intel.32.default -lesmf -lnetcdf_stubs from cmd line |
7 |
|
|
# Main program is main_template.f90 |
8 |
|
|
# process_fsource called with arg main_template.f90 |
9 |
|
|
# main_template.f90 Uses Module ESMF_LITE |
10 |
|
|
# main_template.f90 Uses Module MULTI_SUPPORT |
11 |
|
|
# Full list of modules in main_template.f90: ESMF_LITE MULTI_SUPPORT |
12 |
|
|
# Uses ESMF_LITE which is in ./esmf_lite.f90 |
13 |
|
|
# process_fsource called with arg ./esmf_lite.f90 |
14 |
|
|
# ./esmf_lite.f90 Uses Module ESMF_Mod |
15 |
|
|
# Full list of modules in ./esmf_lite.f90: ESMF_Mod |
16 |
|
|
# Uses MULTI_SUPPORT which is in ./multi_support.f90 |
17 |
|
|
# process_fsource called with arg ./multi_support.f90 |
18 |
|
|
# Full list of modules in ./multi_support.f90: |
19 |
|
|
|
20 |
|
|
# ------------------Macro-Defs--------------------- |
21 |
|
|
EFC=/usr/local/mpich-1.2.6/intel_80/bin/mpif90 |
22 |
|
|
ECC=/usr/local/mpich-1.2.6/intel_80/bin/mpicc |
23 |
|
|
EDIR=/mnt/disk2_ext3/home/cnh/src/esmf_builds/ESMF_2_2_0r_intel80/esmf |
24 |
|
|
EIPATH=-fixed -I$(EDIR)/mod/modg/Linux.intel.32.default |
25 |
|
|
EFLINK=-L/usr/lib/gcc/i386-redhat-linux/4.0.1 -L/usr/lib/gcc/i386-redhat-linux/4.0.1/../../.. -lstdc++ -lrt -ldl -L$(EDIR)/lib/libg/Linux.intel.32.default -lesmf -lnetcdf_stubs |
26 |
|
|
|
27 |
|
|
F90=$(EFC) |
28 |
|
|
|
29 |
|
|
# -------------------End-macro-Defs--------------------------- |
30 |
|
|
|
31 |
|
|
# Here is the link step |
32 |
|
|
main_template:esmf_lite.o multi_support.o main_template.o |
33 |
|
|
$(F90) -o main_template esmf_lite.o multi_support.o main_template.o $(EFLINK) |
34 |
|
|
|
35 |
|
|
# Here are the compile steps |
36 |
|
|
|
37 |
|
|
esmf_lite.o:./esmf_lite.f90 |
38 |
|
|
$(F90) $(EIPATH) -c ./esmf_lite.f90 |
39 |
|
|
|
40 |
|
|
multi_support.o:./multi_support.f90 |
41 |
|
|
$(F90) $(EIPATH) -c ./multi_support.f90 |
42 |
|
|
|
43 |
|
|
main_template.o:main_template.f90 esmf_lite.o multi_support.o |
44 |
|
|
$(F90) $(EIPATH) -c main_template.f90 |
45 |
|
|
# This entry allows you to type " make clean " to get rid of |
46 |
|
|
# all object and module files |
47 |
|
|
clean: |
48 |
|
|
rm -f -r f_{files,modd}* *.o *.mod *.M *.d V*.inc *.vo \ |
49 |
|
|
V*.f *.dbg album F.err |
50 |
|
|
|