Makefile 694 Bytes
Newer Older
dumoda01's avatar
dumoda01 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
#$Id: Makefile,v 1.4 2004-01-12 08:51:16 lars Exp $
#
# Makefile to build the the main library - libgotm.a
#

include ../Rules.make

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

DOCSRC	= \
main.F90  \
gotm.F90

MOD	= \
${LIB}(gotm.o)


OBJ   = \
main.o

all: $(MOD) $(OBJ)
	$(MOVE_MODULES_COMMAND)

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

clean:
	$(RM) -f ${LIB} $(MODDIR)/gotm.{m,mod} doc

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

distclean: realclean

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