87 lines
2.3 KiB
Makefile
87 lines
2.3 KiB
Makefile
#BHEADER**********************************************************************
|
|
# Copyright (c) 2007, Lawrence Livermore National Security, LLC.
|
|
# Produced at the Lawrence Livermore National Laboratory.
|
|
# Written by the HYPRE team. UCRL-CODE-222953.
|
|
# All rights reserved.
|
|
#
|
|
# This file is part of HYPRE (see http://www.llnl.gov/CASC/hypre/).
|
|
# Please see the COPYRIGHT_and_LICENSE file for the copyright notice,
|
|
# disclaimer, contact information and the GNU Lesser General Public License.
|
|
#
|
|
# HYPRE is free software; you can redistribute it and/or modify it under the
|
|
# terms of the GNU General Public License (as published by the Free Software
|
|
# Foundation) version 2.1 dated February 1999.
|
|
#
|
|
# HYPRE is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
# WARRANTY; without even the IMPLIED WARRANTY OF MERCHANTABILITY or FITNESS
|
|
# FOR A PARTICULAR PURPOSE. See the terms and conditions of the GNU General
|
|
# Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU Lesser General Public License
|
|
# along with this program; if not, write to the Free Software Foundation,
|
|
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
#
|
|
# $Revision$
|
|
#EHEADER**********************************************************************
|
|
|
|
|
|
|
|
|
|
|
|
### Internal BLAS routines may be compiled in this sub-directory
|
|
### Generally, the Makefile in the utilities subdirectory controls
|
|
### the inclusion of these routines based on the configure options.
|
|
###
|
|
|
|
include ../config/Makefile.config
|
|
|
|
C_COMPILE_FLAGS = ${INCLUDES} -I.. -I../utilities
|
|
|
|
BLAS_HEADERS = f2c.h hypre_blas.h
|
|
BLAS_FILES = \
|
|
blas_utils.c\
|
|
dasum.c\
|
|
daxpy.c\
|
|
dcopy.c\
|
|
ddot.c\
|
|
dgemm.c\
|
|
dgemv.c\
|
|
dger.c\
|
|
dnrm2.c\
|
|
drot.c\
|
|
dscal.c\
|
|
dswap.c\
|
|
dsymm.c\
|
|
dsymv.c\
|
|
dsyr2.c\
|
|
dsyr2k.c\
|
|
dsyrk.c\
|
|
dtrmm.c\
|
|
dtrmv.c\
|
|
dtrsm.c\
|
|
dtrsv.c\
|
|
idamax.c
|
|
|
|
OBJS = ${BLAS_FILES:.c=.o}
|
|
|
|
##################################################################
|
|
# Targets
|
|
##################################################################
|
|
|
|
all: ${OBJS}
|
|
cp -fp *.o ${HYPRE_SRC_TOP_DIR}/utilities
|
|
|
|
install: all
|
|
cp -fp *.h ${HYPRE_INC_INSTALL}/include
|
|
|
|
clean:
|
|
rm -rf *.o
|
|
|
|
distclean: clean
|
|
|
|
##################################################################
|
|
# Rules
|
|
##################################################################
|
|
|
|
${OBJS}: ${BLAS_HEADERS}
|