source:
branches/2011/dev_r2802_MERCATOR10_diadct/NEMOGCM/TOOLS/SECTIONS_DIADCT/src/Makefile
@
2849
Last change on this file since 2849 was 2849, checked in by cbricaud, 13 years ago | |
---|---|
|
|
File size: 1.5 KB |
Line | |
---|---|
1 | #px64 |
2 | LIBNETCDF = $(NETCDF_LIB) |
3 | FC90 = ifort |
4 | FOR_OPT = -i4 -r8 -O3 -traceback -convert big_endian |
5 | #debug FOR_OPT = -i4 -r8 -g -check bounds -check uninit -check pointers -traceback -convert big_endian |
6 | FFLAGS = $(FOR_OPT) -I$(NETCDF_INC) |
7 | |
8 | #aix6cep |
9 | #NCDF_INC =/usr/local/apps/netcdf/3.6.3/LP64/include/ |
10 | #NCDF_LIB = -L/usr/local/apps/netcdf/3.6.3/LP64/lib/ -lnetcdf |
11 | #FC90=xlf90_r |
12 | #FFLAGS= -qinitauto -qrealsize=8 -qsuffix=cpp=f90 $(NCDF_LIB) -I$(NCDF_INC) |
13 | |
14 | |
15 | #################### |
16 | OBJETS= declarations.o\ |
17 | readcoordmesh.o\ |
18 | readsections.o\ |
19 | sections_tools.o\ |
20 | compute_sections.o\ |
21 | writesections.o |
22 | |
23 | EXEC=diadct_sections |
24 | #################### |
25 | # Cible all : obligatoire |
26 | # ----------------------- |
27 | all : $(EXEC) |
28 | |
29 | # cible clean obligatoire |
30 | # ----------------------- |
31 | clean : |
32 | @echo "" |
33 | $(RM) $(OBJETS) $(EXEC) |
34 | $(RM) *.o *.mod *lst |
35 | @echo " " |
36 | |
37 | #################### |
38 | declarations.o:declarations.f90 |
39 | $(FC90) -c $(FFLAGS) -o $@ $< |
40 | |
41 | readcoordmesh.o:readcoordmesh.f90 declarations.o |
42 | $(FC90) -c $(FFLAGS) -o $@ $< |
43 | |
44 | sections_tools.o:sections_tools.f90 declarations.o |
45 | $(FC90) -c $(FFLAGS) -o $@ $< |
46 | |
47 | readsections.o:readsections.f90 sections_tools.o declarations.o |
48 | $(FC90) -c $(FFLAGS) -o $@ $< |
49 | |
50 | writesections.o:writesections.f90 sections_tools.o declarations.o |
51 | $(FC90) -c $(FFLAGS) -o $@ $< |
52 | |
53 | compute_sections.o:compute_sections.f90 sections_tools.o declarations.o |
54 | $(FC90) -c $(FFLAGS) -o $@ $< |
55 | |
56 | $(EXEC):diadct_sections.f90 $(OBJETS) |
57 | $(FC90) $(FFLAGS) $(OBJETS) -L$(NETCDF_LIB) -lnetcdf -o $@ $< |
58 | |
59 |
Note: See TracBrowser
for help on using the repository browser.