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

Last change on this file since 4775 was 4775, checked in by aclsce, 4 years ago
  • Imported oasis3-mct from Cerfacs svn server (not suppotred anymore).

The version has been extracted from https://oasis3mct.cerfacs.fr/svn/branches/OASIS3-MCT_2.0_branch/oasis3-mct@1818

File size: 708 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.