source: LMDZ6/branches/LMDZ-COSP/libf/phylmd/cospv2/unit_testing/congvec/Makefile @ 5917

Last change on this file since 5917 was 5917, checked in by idelkadi, 5 hours ago

Nouveau répertoire cospv2 avec la même structure offline

File size: 2.5 KB
Line 
1.SUFFIXES : .f90
2# *****************************COPYRIGHT****************************
3# (c) British Crown Copyright 2009, the Met Office.
4# All rights reserved.
5#
6# Redistribution and use in source and binary forms, with or without
7# modification, are permitted provided that the
8# following conditions are met:
9#
10#     * Redistributions of source code must retain the above
11#       copyright  notice, this list of conditions and the following
12#       disclaimer.
13#     * Redistributions in binary form must reproduce the above
14#       copyright notice, this list of conditions and the following
15#       disclaimer in the documentation and/or other materials
16#       provided with the distribution.
17#     * Neither the name of the Met Office nor the names of its
18#       contributors may be used to endorse or promote products
19#       derived from this software without specific prior written
20#       permission.
21#
22# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
23# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
24# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
25# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
26# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
27# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
28# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
29# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
30# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
31# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
32# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
33#
34# *****************************COPYRIGHT*******************************
35# *****************************COPYRIGHT*******************************
36# *****************************COPYRIGHT*******************************
37
38# Compiler and flags
39F90        = ifort
40DEBUG      = #-g #-C
41F90FLAGS   = # -O2
42
43# Source file location
44ROOT = /home/dswales/Projects/COSP/COSPv2.0
45SRC  = $(ROOT)/src/simulator/icarus-scops-4.1-bsd
46
47########################################################################
48PROG2 = test_congvec
49OBJS2 = cosp_kinds.o
50
51all: $(PROG2)
52
53$(PROG2): $(OBJS2)
54        $(F90) $(F90FLAGS) $(PROG2).f90 $(OBJS2) \
55        -o $(PROG2)
56
57%.o : %.f90
58        ${F90} ${F90FLAGS} -c $<
59
60$(PROG2).o     : cosp_kinds.o
61congvec.o      : cosp_kinds.o
62
63clean:
64        rm -f *.o test_isccp_cloud_types ftn* test_congvec *.mod
65
66cosp_kinds.o : $(ROOT)/src/hooks/cosp_kinds.f90
67        $(F90) $(F90FLAGS) -c $<
68
69
70
71
72
73
74
75
76
77
78
79
80
Note: See TracBrowser for help on using the repository browser.