#= Makefile for deepconv/arare source code in util.
#
# Authors::   SUGIYAMA Ko-ichiro
# Version::   $Id: Makefile,v 1.11 2009-03-05 04:37:24 sugiyama Exp $
# Tag Name::  $Name:  $
# Copyright:: Copyright (C) GFD Dennou Club, 2006. All rights reserved.
# License::   See COPYRIGHT[link:../../COPYRIGHT]
#
#
#== History
#
# * 2015/08/23 (SUGIYAMA Ko-ichiro):
#
########################################################################

include ../../Config.mk

.SUFFIXES: .f90 .o

OBJS = \
	newton_cool_general.o\
	newton_cool_crisp1989.o 

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

arare4_2d: $(2DOBJS) 
	$(AR) $(ARFLAGS) $(LIBDIR)/lib$(LIBNAME).a ./*.o ; \
	$(CP) ./*.mod  $(MODDIR); \

arare4_3d: $(3DOBJS) 
	$(AR) $(ARFLAGS) $(LIBDIR)/lib$(LIBNAME).a ./*.o ; \
	$(CP) ./*.mod  $(MODDIR); \

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


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