main
|
Last change
on this file was ea777aa, checked in by Alex Wilton <awilton@…>, 3 years ago |
|
Moved examples, include, build_default.properties, common.xml, and README out from dev.civl.com into the root of the repo.
git-svn-id: svn://vsl.cis.udel.edu/civl/trunk@5704 fb995dde-84ed-4084-dfe6-e5aef3e2452c
|
-
Property mode
set to
100644
|
|
File size:
1.7 KB
|
| Line | |
|---|
| 1 | #BHEADER**********************************************************************
|
|---|
| 2 | # Copyright (c) 2008, Lawrence Livermore National Security, LLC.
|
|---|
| 3 | # Produced at the Lawrence Livermore National Laboratory.
|
|---|
| 4 | # This file is part of HYPRE. See file COPYRIGHT for details.
|
|---|
| 5 | #
|
|---|
| 6 | # HYPRE is free software; you can redistribute it and/or modify it under the
|
|---|
| 7 | # terms of the GNU Lesser General Public License (as published by the Free
|
|---|
| 8 | # Software Foundation) version 2.1 dated February 1999.
|
|---|
| 9 | #
|
|---|
| 10 | # $Revision: 2.4 $
|
|---|
| 11 | #EHEADER**********************************************************************
|
|---|
| 12 |
|
|---|
| 13 |
|
|---|
| 14 | .SUFFIXES:
|
|---|
| 15 | .SUFFIXES: .c .f .o
|
|---|
| 16 |
|
|---|
| 17 | srcdir = .
|
|---|
| 18 |
|
|---|
| 19 | include ../Makefile.include
|
|---|
| 20 |
|
|---|
| 21 | CFLAGS =\
|
|---|
| 22 | -I..\
|
|---|
| 23 | -I../utilities\
|
|---|
| 24 | -I../struct_mv\
|
|---|
| 25 | -I../seq_mv\
|
|---|
| 26 | -I../parcsr_mv\
|
|---|
| 27 | -I../parcsr_ls\
|
|---|
| 28 | ${INCLUDE_CFLAGS}
|
|---|
| 29 |
|
|---|
| 30 | RANLIB = ranlib
|
|---|
| 31 |
|
|---|
| 32 | HEADERS =\
|
|---|
| 33 | aux_parcsr_matrix.h\
|
|---|
| 34 | aux_par_vector.h\
|
|---|
| 35 | headers.h\
|
|---|
| 36 | HYPRE_IJ_mv.h\
|
|---|
| 37 | IJ_matrix.h\
|
|---|
| 38 | IJ_mv.h\
|
|---|
| 39 | IJ_vector.h
|
|---|
| 40 |
|
|---|
| 41 | FILES =\
|
|---|
| 42 | aux_parcsr_matrix.c\
|
|---|
| 43 | aux_par_vector.c\
|
|---|
| 44 | HYPRE_IJMatrix.c\
|
|---|
| 45 | HYPRE_IJVector.c\
|
|---|
| 46 | IJMatrix.c\
|
|---|
| 47 | IJMatrix_parcsr.c\
|
|---|
| 48 | IJVector_parcsr.c
|
|---|
| 49 |
|
|---|
| 50 | OBJS = ${FILES:.c=.o}
|
|---|
| 51 |
|
|---|
| 52 | ##################################################################
|
|---|
| 53 | # Targets
|
|---|
| 54 | ##################################################################
|
|---|
| 55 |
|
|---|
| 56 | all: libIJ_mv.a
|
|---|
| 57 |
|
|---|
| 58 | clean:
|
|---|
| 59 | @rm -f *.o *.dxx
|
|---|
| 60 |
|
|---|
| 61 | veryclean: clean
|
|---|
| 62 | @rm -f lib*.a
|
|---|
| 63 |
|
|---|
| 64 | ##################################################################
|
|---|
| 65 | # Rules
|
|---|
| 66 | ##################################################################
|
|---|
| 67 |
|
|---|
| 68 | libIJ_mv.a: ${OBJS}
|
|---|
| 69 | @echo "Building $@ ... "
|
|---|
| 70 | ar -rcu $@ ${OBJS}
|
|---|
| 71 | ${RANLIB} $@
|
|---|
| 72 |
|
|---|
| 73 | ${OBJS}: ${HEADERS}
|
|---|
| 74 |
|
|---|
| 75 | ##################################################################
|
|---|
| 76 | # Generic rules
|
|---|
| 77 | ##################################################################
|
|---|
| 78 |
|
|---|
| 79 | .c.o:
|
|---|
| 80 | ${CC} -o $@ -c ${CFLAGS} $<
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.