Makefile 1.23 KB
#$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

DOCSRC	=  bio.F90	\
bio_var.F90		\
bio_template.F90	\
bio_npzd.F90		\
bio_iow.F90		\
bio_sed.F90		\
bio_fasham.F90		\
bio_ismer.F90		\
bio_gsj.F90             \
bio_nocera.F90		\
bio_polynow.F90		\
bio_save.F90		\
bio_npzd4.F90		\
nitrate.F90		\
ammonium.F90            \
hydrocarbon.F90

OBJ   = \
${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)	\
${LIB}(bio_gsj.o)	\
${LIB}(bio_fasham.o)	\
${LIB}(bio_nocera.o)	\
${LIB}(bio_polynow.o)	\
${LIB}(bio_npzd4.o)	\
${LIB}(bio_sed.o)	\
${LIB}(bio_save.o)	\
${LIB}(nitrate.o)	\
${LIB}(ammonium.o)	\
${LIB}(hydrocarbon.o)	\
${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)         !
#-----------------------------------------------------------------------