source: CPL/oasis3-mct/branches/OASIS3-MCT_5.0_branch/lib/mct/examples/climate_concur1/Makefile @ 6331

Last change on this file since 6331 was 6331, checked in by aclsce, 17 months ago

Moved oasis-mct_5.0 in oasis3-mct/branches directory.

File size: 706 bytes
Line 
1
2SHELL           = /bin/sh
3
4# SOURCE FILES
5
6SRCS_F90        = master.F90 coupler.F90 model.F90
7
8OBJS_ALL        = $(SRCS_F90:.F90=.o)
9
10# MACHINE AND COMPILER FLAGS
11
12include ../../Makefile.conf
13
14# ADDITIONAL FLAGS SPECIFIC FOR UTMCT COMPILATION
15
16MCTLIBS    = -L$(MPEUPATH) -L$(MCTPATH) -lmct -lmpeu
17UTLDFLAGS  = $(REAL8)
18UTCMPFLAGS = $(REAL8) $(INCFLAG)$(MPEUPATH) $(INCFLAG)$(MCTPATH)
19
20# TARGETS
21
22all: climate
23
24climate: $(OBJS_ALL)
25        $(FC) -o $@ $(OBJS_ALL) $(FCFLAGS) $(UTLDFLAGS) $(MCTLIBS) $(MPILIBS)
26
27# RULES
28
29.SUFFIXES:
30.SUFFIXES: .F90 .o
31
32.F90.o:
33        $(FC) -c $(INCPATH) $(FPPDEFS) $(FCFLAGS) $(MCTFLAGS) $(UTCMPFLAGS) $<
34
35
36clean:
37        ${RM} *.o *.mod climate
38
39# DEPENDENCIES:
40
41$(OBJS_ALL): $(MCTPATH)/libmct.a
42
43
44
45
46
47
48
49
50
51
52
Note: See TracBrowser for help on using the repository browser.