source:
branches/TAM_V3_0/CONFIG/ORCA2_TAM/Makefile
@
1888
Last change on this file since 1888 was 1888, checked in by rblod, 14 years ago | |
---|---|
File size: 1.4 KB |
Line | |
---|---|
1 | #--------------------------------------------------------------------- |
2 | #- Creation des elements relatifs a ORCA : |
3 | #- ORCA (lib, executable : opa) |
4 | #--------------------------------------------------------------------- |
5 | SHELL = /bin/sh |
6 | #--------------------------------------------------------------------- |
7 | LIBDIR = ../../../../lib |
8 | BINDIR = ../../../../bin |
9 | MODDIR = $(LIBDIR) |
10 | #--------------------------------------------------------------------- |
11 | #- |
12 | #- |
13 | #- $Id: AA_make.gdef 948 2010-03-18 12:51:45Z mafoipsl $ |
14 | #- |
15 | #- Validate the correlation between the target and the environment |
16 | #- |
17 | UTIL_DIR = ../../util |
18 | WW_h_t = $(shell cat $(UTIL_DIR)/.host_target) |
19 | WW_h_w = $(shell $(UTIL_DIR)/w_i_h) |
20 | WW_t_e = $(shell $(UTIL_DIR)/w_i_e $(WW_h_t) $(WW_h_w)) |
21 | ifeq "$(WW_t_e)" "NO" |
22 | $(error ) |
23 | endif |
24 | #- |
25 | #- Global definitions for Intel compiler (ifort) at LSCE |
26 | M_K = gmake |
27 | P_C = cpp |
28 | P_O = -P -C $(P_P) |
29 | F_C = ifort -c -cpp |
30 | F_D = |
31 | F_P = -i4 -r8 |
32 | F_O = -O $(F_D) $(F_P) -I$(MODDIR) -module $(MODDIR) |
33 | F_L = ifort |
34 | M_M = 0 |
35 | L_X = 0 |
36 | L_O = -Vaxlib |
37 | A_C = ar -r |
38 | A_G = ar -x |
39 | C_C = cc -c |
40 | C_O = |
41 | C_L = cc |
42 | #- |
43 | NCDF_INC = /usr/local/pub/netcdf/4.0.1-ifort/include |
44 | NCDF_LIB = -L/usr/local/pub/netcdf/4.0.1-ifort/lib -lnetcdf |
45 | #- |
46 | RM = rm -f |
47 | STRIP = strip |
48 | SIZE = size |
49 | # $Header$ |
50 | all: ioipsl opa |
51 | |
52 | ioipsl: |
53 | (cd ../../modeles/IOIPSL/src; $(M_K) ;) |
54 | |
55 | |
56 | opa: |
57 | (cd ../../modeles/NEMO/WORK; $(M_K) ;) |
58 | |
59 | |
60 | clean: |
61 | (cd ../../modeles/NEMO/WORK; $(M_K) clean ;) |
Note: See TracBrowser
for help on using the repository browser.