source: CPL/oasis3/trunk/util/compile/frames/include/Top_makefile_all.h

Last change on this file 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
6cat > Top_Makefile_$$ <<'EOF1'
7
8export
9
10SHELL = /bin/ksh
11 
12builddir = ./
13
14prefix = ../../../..
15
16includedir = ${prefix}/include
17
18configdir = ${prefix}/config
19
20exec_prefix = ../../..
21
22top_builddir = $(exec_prefix)/build
23
24bindir = $(exec_prefix)/bin
25
26libdir = $(exec_prefix)/lib
27 
28INCLUDES = -I$(NETCDF_INCLUDE) -I$(MPI_INCLUDE) -I$(SYS_INCLUDE)
29
30F90      = ${F90com}
31f90      = ${f90com}
32F        = ${Fcom}
33f        = ${fcom}
34CC       = $(cc)
35CPP      = ${cc} -E
36AR       = ${ar}
37AS       = ${as}
38
39AFLAGS   = $(AFLAG)
40
41ARFLAGS   = $(ARFLAG)
42
43CCFLAGS  = -I$(configdir) -I$(SYS_INCLUDE) $(CCFLAG) $(CPPFLAGCC)
44
45F90FLAGS = $(F90FLAG) $(INCLUDES) $(CPPFLAGF90)
46
47FFLAGS = $(FFLAG) $(INCLUDES) $(CPPFLAGF90)
48
49f90FLAGS = $(f90FLAG) $(INCLUDES) $(CPPFLAGF90)
50
51fFLAGS = $(fFLAG) $(INCLUDES) $(CPPFLAGF90)
52
Note: See TracBrowser for help on using the repository browser.