Makefile 1.15 KB
Newer Older
dumoda01's avatar
dumoda01 committed
1
2
3
4
5
6
7
8
9
#$Id: Makefile,v 1.14 2007-04-18 07:24:51 kbk Exp $
#
# Makefile to build the Bio Module - libbio.a
#

include ../../Rules.make

LIB	= $(LIBDIR)/libbio$(buildtype).a

10
11
12
13
14
15
16
17
DOCSRC	=  bio.F90	\
bio_var.F90		\
bio_template.F90	\
bio_npzd.F90		\
bio_iow.F90		\
bio_sed.F90		\
bio_fasham.F90		\
bio_ismer.F90		\
18
bio_gsj.F90             \
19
bio_nocera.F90		\
20
21
bio_save.F90		\
nitrate.F90		\
22
23
ammonium.F90            \
hydrocarbon.F90
dumoda01's avatar
dumoda01 committed
24
25

OBJ   = \
26
27
28
29
30
31
32
${LIB}(bio_var.o)	\
${LIB}(bio_fluxes.o)	\
${LIB}(bio_template.o)	\
${LIB}(bio_npzd.o)	\
${LIB}(bio_iow.o)	\
${LIB}(bio_mab.o)	\
${LIB}(bio_ismer.o)	\
33
${LIB}(bio_gsj.o)	\
34
${LIB}(bio_fasham.o)	\
35
${LIB}(bio_nocera.o)	\
36
37
38
39
${LIB}(bio_sed.o)	\
${LIB}(bio_save.o)	\
${LIB}(nitrate.o)	\
${LIB}(ammonium.o)	\
40
${LIB}(hydrocarbon.o)	\
dumoda01's avatar
dumoda01 committed
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
${LIB}(bio.o)

all: ${OBJ}
	$(MOVE_MODULES_COMMAND)

doc:    $(DOCSRC)
	$(PROTEX) $(DOCSRC) > ../../../doc/bio.tex 
	touch doc

clean:
	$(RM) ${LIB} doc

realclean: clean
	$(RM) *.o *~

distclean: realclean

#-----------------------------------------------------------------------
# Copyright (C) 2003 - Hans Burchard and Karsten Bolding (BBH)         !
#-----------------------------------------------------------------------