Last change
on this file since 1677 was
1677,
checked in by aclsce, 12 years ago
|
Imported oasis3 (tag ipslcm5a) from cvs server to svn server (igcmg project).
|
File size:
914 bytes
|
Line | |
---|
1 | ################################################################################ |
---|
2 | # |
---|
3 | # Create the top level Makefile |
---|
4 | # |
---|
5 | |
---|
6 | cat > Top_Makefile_$$ <<'EOF1' |
---|
7 | |
---|
8 | export |
---|
9 | |
---|
10 | SHELL = /bin/ksh |
---|
11 | |
---|
12 | builddir = ./ |
---|
13 | |
---|
14 | prefix = ../../../.. |
---|
15 | |
---|
16 | includedir = ${prefix}/include |
---|
17 | |
---|
18 | configdir = ${prefix}/config |
---|
19 | |
---|
20 | exec_prefix = ../../.. |
---|
21 | |
---|
22 | top_builddir = $(exec_prefix)/build |
---|
23 | |
---|
24 | bindir = $(exec_prefix)/bin |
---|
25 | |
---|
26 | libdir = $(exec_prefix)/lib |
---|
27 | |
---|
28 | INCLUDES = -I$(NETCDF_INCLUDE) -I$(MPI_INCLUDE) -I$(SYS_INCLUDE) |
---|
29 | |
---|
30 | F90 = ${F90com} |
---|
31 | f90 = ${f90com} |
---|
32 | F = ${Fcom} |
---|
33 | f = ${fcom} |
---|
34 | CC = $(cc) |
---|
35 | CPP = ${cc} -E |
---|
36 | AR = ${ar} |
---|
37 | AS = ${as} |
---|
38 | |
---|
39 | AFLAGS = $(AFLAG) |
---|
40 | |
---|
41 | ARFLAGS = $(ARFLAG) |
---|
42 | |
---|
43 | CCFLAGS = -I$(configdir) -I$(SYS_INCLUDE) $(CCFLAG) $(CPPFLAGCC) |
---|
44 | |
---|
45 | F90FLAGS = $(F90FLAG) $(INCLUDES) $(CPPFLAGF90) |
---|
46 | |
---|
47 | FFLAGS = $(FFLAG) $(INCLUDES) $(CPPFLAGF90) |
---|
48 | |
---|
49 | f90FLAGS = $(f90FLAG) $(INCLUDES) $(CPPFLAGF90) |
---|
50 | |
---|
51 | fFLAGS = $(fFLAG) $(INCLUDES) $(CPPFLAGF90) |
---|
52 | |
---|
Note: See
TracBrowser
for help on using the repository browser.