Makefile 1.23 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             \
Dany Dumont's avatar
Dany Dumont committed
19
bio_nocera.F90		\
20 21
bio_polynow.F90		\
bio_save.F90		\
Dany Dumont's avatar
Dany Dumont committed
22
bio_npzd4.F90		\
23
nitrate.F90		\
24 25
ammonium.F90            \
hydrocarbon.F90
dumoda01's avatar
dumoda01 committed
26 27

OBJ   = \
28 29 30 31 32 33 34
${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)	\
35
${LIB}(bio_gsj.o)	\
36
${LIB}(bio_fasham.o)	\
37
${LIB}(bio_nocera.o)	\
38
${LIB}(bio_polynow.o)	\
Dany Dumont's avatar
Dany Dumont committed
39
${LIB}(bio_npzd4.o)	\
40 41 42 43
${LIB}(bio_sed.o)	\
${LIB}(bio_save.o)	\
${LIB}(nitrate.o)	\
${LIB}(ammonium.o)	\
44
${LIB}(hydrocarbon.o)	\
dumoda01's avatar
dumoda01 committed
45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
${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)         !
#-----------------------------------------------------------------------