source: dynamico_lmdz/aquaplanet/IOIPSL/rebuild_src/Makefile @ 3890

Last change on this file since 3890 was 3847, checked in by ymipsl, 9 years ago

Add IOIPSL in the configuration.
Temporary configuration.
Makefile is ready for Curie

YM

  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 1.3 KB
Line 
1#---------------------------------------------------------------------
2#- Exemples relatifs a IOIPSL
3#---------------------------------------------------------------------
4SHELL = /bin/sh
5#---------------------------------------------------------------------
6LIBDIR = ../src
7MODDIR = $(LIBDIR)
8#---------------------------------------------------------------------
9IOIPSL_LIB = -L$(LIBDIR) -lioipsl
10#-
11#- Global definitions for Linux Compiler Intel v8
12F_C = sxf90 -c
13F_D =
14F_P = -dW -EP -C vsafe -Wf,"-A idbl4" -P stack -Wf,"-init stack=nan" -size_t64 -R4 -DNC_DOUBLE
15F_O = $(F_D) $(F_P) -I$(MODDIR)
16F_L = sxf90 -size_t64
17L_O =
18NCDF_INC = /usr/local/SX6/soft/netcdf/include
19NCDF_LIB = -L/usr/local/SX6/soft/netcdf/lib -lnetcdf
20#-
21RM      = rm -f
22STRIP   = strip
23SIZE    = size
24#-
25
26flio_rbld: flio_rbld.o
27        $(F_L) flio_rbld.o -o flio_rbld \
28               $(L_O) $(IOIPSL_LIB) $(NCDF_LIB)
29
30extrc: extrc.o f2kcli.o
31        $(F_L) extrc.o f2kcli.o -o extrc \
32               $(L_O) $(IOIPSL_LIB) $(NCDF_LIB)
33
34ren_att: ren_att.o f2kcli.o
35        $(F_L) ren_att.o f2kcli.o -o ren_att \
36               $(L_O) $(IOIPSL_LIB) $(NCDF_LIB)
37
38flio_rbld.o: flio_rbld.f90
39        $(F_C) $(F_O) flio_rbld.f90
40
41extrc.o: extrc.f90
42        $(F_C) $(F_O) extrc.f90
43
44ren_att.o: ren_att.f90
45        $(F_C) $(F_O) ren_att.f90
46
47f2kcli.o: f2kcli.f90
48        $(F_C) $(F_O) f2kcli.f90
49
Note: See TracBrowser for help on using the repository browser.