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:
2.5 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 |
|
|---|
| 15 | .SUFFIXES:
|
|---|
| 16 | .SUFFIXES: .c .f .o
|
|---|
| 17 |
|
|---|
| 18 | srcdir = .
|
|---|
| 19 |
|
|---|
| 20 | include ../Makefile.include
|
|---|
| 21 |
|
|---|
| 22 | CFLAGS =\
|
|---|
| 23 | -I..\
|
|---|
| 24 | -I../utilities\
|
|---|
| 25 | -I../struct_mv\
|
|---|
| 26 | -I../seq_mv\
|
|---|
| 27 | -I../parcsr_mv\
|
|---|
| 28 | -I../IJ_mv\
|
|---|
| 29 | ${INCLUDE_CFLAGS}
|
|---|
| 30 |
|
|---|
| 31 | RANLIB = ranlib
|
|---|
| 32 |
|
|---|
| 33 |
|
|---|
| 34 | HEADERS =\
|
|---|
| 35 | box_map.h\
|
|---|
| 36 | headers.h\
|
|---|
| 37 | HYPRE_sstruct_mv.h\
|
|---|
| 38 | sstruct_graph.h\
|
|---|
| 39 | sstruct_grid.h\
|
|---|
| 40 | sstruct_matrix.h\
|
|---|
| 41 | sstruct_mv.h\
|
|---|
| 42 | sstruct_stencil.h\
|
|---|
| 43 | sstruct_vector.h
|
|---|
| 44 |
|
|---|
| 45 | FILES =\
|
|---|
| 46 | box_map.c\
|
|---|
| 47 | HYPRE_sstruct_graph.c\
|
|---|
| 48 | HYPRE_sstruct_grid.c\
|
|---|
| 49 | HYPRE_sstruct_matrix.c\
|
|---|
| 50 | HYPRE_sstruct_stencil.c\
|
|---|
| 51 | HYPRE_sstruct_vector.c\
|
|---|
| 52 | sstruct_axpy.c\
|
|---|
| 53 | sstruct_copy.c\
|
|---|
| 54 | sstruct_graph.c\
|
|---|
| 55 | sstruct_grid.c\
|
|---|
| 56 | sstruct_innerprod.c\
|
|---|
| 57 | sstruct_matrix.c\
|
|---|
| 58 | sstruct_matvec.c\
|
|---|
| 59 | sstruct_overlap_innerprod.c\
|
|---|
| 60 | sstruct_scale.c\
|
|---|
| 61 | sstruct_stencil.c\
|
|---|
| 62 | sstruct_vector.c
|
|---|
| 63 |
|
|---|
| 64 | OBJS = ${FILES:.c=.o}
|
|---|
| 65 |
|
|---|
| 66 | ##################################################################
|
|---|
| 67 | # Targets
|
|---|
| 68 | ##################################################################
|
|---|
| 69 |
|
|---|
| 70 | all: libsstruct_mv.a
|
|---|
| 71 |
|
|---|
| 72 | clean:
|
|---|
| 73 | @rm -f *.o *.dxx
|
|---|
| 74 |
|
|---|
| 75 | veryclean: clean
|
|---|
| 76 | @rm -f lib*.a
|
|---|
| 77 |
|
|---|
| 78 | ##################################################################
|
|---|
| 79 | # Rules
|
|---|
| 80 | ##################################################################
|
|---|
| 81 |
|
|---|
| 82 | libsstruct_mv.a: ${OBJS}
|
|---|
| 83 | @echo "Building $@ ... "
|
|---|
| 84 | ar -rcu $@ ${OBJS}
|
|---|
| 85 | ${RANLIB} $@
|
|---|
| 86 |
|
|---|
| 87 | ${OBJS}: ${HEADERS}
|
|---|
| 88 |
|
|---|
| 89 | ##################################################################
|
|---|
| 90 | # Generic rules
|
|---|
| 91 | ##################################################################
|
|---|
| 92 |
|
|---|
| 93 | .c.o:
|
|---|
| 94 | ${CC} -o $@ -c ${CFLAGS} $<
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.