#= Makefile for deepconv/arare source code in physics.
#
# Authors::   ODAKA Masatsugu, SUGIYAMA Ko-ichiro
# Version::   $Id: Makefile,v 1.2 2014-02-20 16:26:15 sugiyama Exp $
# Tag Name::  $Name:  $
# Copyright:: Copyright (C) GFD Dennou Club, 2006. All rights reserved.
# License::   See COPYRIGHT[link:../../COPYRIGHT]
#
#
#== History
#
# * 2012/08/06 (ODAKA Masatsugu): 
#
########################################################################

include ../../Config.mk


.SUFFIXES: .f90 .o 


OBJS = gridset_surfaceflux.o \
	surfaceflux_bulk_core.o surfaceflux_bulk.o 


all: $(OBJS) 
	$(AR) $(ARFLAGS) $(LIBDIR)/lib$(LIBNAME).a ./*.o ; \
	$(CP) ./*.mod  $(MODDIR); \

%.o: %.f90
	$(FC) $(SYSFFLAGS) -c $< 

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

clean.test: clean
	-$(RM) -f test 
