source: CIVL/examples/mpi-omp/AMG2013/struct_mv/Makefile

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.8 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
18srcdir = .
19
20include ../Makefile.include
21
22CFLAGS =\
23 -I..\
24 -I../utilities\
25 ${INCLUDE_CFLAGS}
26
27RANLIB = ranlib
28
29HEADERS =\
30 assumed_part.h\
31 box.h\
32 box_manager.h\
33 box_neighbors.h\
34 box_pthreads.h\
35 computation.h\
36 headers.h\
37 hypre_box_smp_forloop.h\
38 HYPRE_struct_mv.h\
39 struct_communication.h\
40 struct_grid.h\
41 struct_matrix.h\
42 struct_mv.h\
43 struct_stencil.h\
44 struct_vector.h
45
46FILES =\
47 assumed_part.c\
48 box_algebra.c\
49 box_alloc.c\
50 box_boundary.c\
51 box.c\
52 box_manager.c\
53 box_neighbors.c\
54 communication_info.c\
55 computation.c\
56 grow.c\
57 HYPRE_struct_grid.c\
58 HYPRE_struct_matrix.c\
59 HYPRE_struct_stencil.c\
60 HYPRE_struct_vector.c\
61 new_assemble.c\
62 new_box_neighbors.c\
63 project.c\
64 struct_axpy.c\
65 struct_communication.c\
66 struct_copy.c\
67 struct_grid.c\
68 struct_innerprod.c\
69 struct_io.c\
70 struct_matrix.c\
71 struct_matrix_mask.c\
72 struct_matvec.c\
73 struct_overlap_innerprod.c\
74 struct_scale.c\
75 struct_stencil.c\
76 struct_vector.c
77
78OBJS = ${FILES:.c=.o}
79
80##################################################################
81# Targets
82##################################################################
83
84all: libHYPRE_struct_mv.a
85
86clean:
87 @rm -f *.o *.dxx
88
89veryclean: clean
90 @rm -f lib*.a
91
92##################################################################
93# Rules
94##################################################################
95
96libHYPRE_struct_mv.a: ${OBJS}
97 @echo "Building $@ ... "
98 ar -rcu $@ ${OBJS}
99 ${RANLIB} $@
100
101${OBJS}: ${HEADERS}
102
103##################################################################
104# Generic rules
105##################################################################
106
107.c.o:
108 ${CC} -o $@ -c ${CFLAGS} $<
Note: See TracBrowser for help on using the repository browser.