1
# Copyright (C) 2006 Imperial College London and others.
3
# Please see the AUTHORS file in the main source directory for a full list
4
# of copyright holders.
7
# Applied Modelling and Computation Group
8
# Department of Earth Science and Engineering
9
# Imperial College London
11
# amcgsoftware@imperial.ac.uk
13
# This library is free software; you can redistribute it and/or
14
# modify it under the terms of the GNU Lesser General Public
15
# License as published by the Free Software Foundation,
16
# version 2.1 of the License.
18
# This library is distributed in the hope that it will be useful,
19
# but WITHOUT ANY WARRANTY; without even the implied warranty of
20
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21
# Lesser General Public License for more details.
23
# You should have received a copy of the GNU Lesser General Public
24
# License along with this library; if not, write to the Free Software
25
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
29
PACKAGE_NAME = fluidity
30
FLUIDITY = $(PACKAGE_NAME)
33
FCFLAGS = -I../include -J../include -fbounds-check -Wall -Wimplicit-interface -Wno-surprising -g -O0 -frecord-marker=4 -DHAVE_NUMPY -I/usr/lib/python2.7/dist-packages/numpy/core/include -ffree-line-length-none -ffixed-line-length-none -finit-integer=-66666 -finit-real=nan -I/usr/lib/petscdir/3.1/linux-gnu-c-opt/include -I/usr/lib/petscdir/3.1/include -I/usr/include -I/usr/lib/openmpi/include -I/usr/lib/openmpi/lib -I/usr/include/spooles -I/usr/include/scotch -I/usr/lib -I/usr/include/suitesparse -fdefault-real-8 -fdefault-double-8 -I/usr/local/include -I./
36
CFLAGS = -fbounds-check -Wall -g -O0 -I/usr/include/python2.7 -DHAVE_NUMPY -I/usr/lib/python2.7/dist-packages/numpy/core/include -I../include -I/usr/local/include
39
CXXFLAGS= -fbounds-check -Wall -g -O0 -I/usr/include/python2.7 -DHAVE_NUMPY -I/usr/lib/python2.7/dist-packages/numpy/core/include -I../include -I/usr/local/include
45
LIB = ../lib/lib$(FLUIDITY).a
47
OBJS = Sediment.o Sediment_Diagnostics.o \
49
.SUFFIXES: .f90 .F90 .c .o .a
53
$(FC) $(FCFLAGS) -c $<
56
$(FC) $(FCFLAGS) $(GENFLAGS) -c $<
66
include Makefile.dependencies