source: CIVL/examples/mpi-omp/AMG2013/seq_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: 1.6 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
17srcdir = .
18
19include ../Makefile.include
20
21CFLAGS =\
22 -I..\
23 -I../utilities\
24 ${INCLUDE_CFLAGS}
25
26RANLIB = ranlib
27
28HEADERS =\
29 csr_matrix.h\
30 headers.h\
31 HYPRE_seq_mv.h\
32 seq_mv.h\
33 vector.h
34
35FILES =\
36 big_csr_matrix.c\
37 csr_matop.c\
38 csr_matrix.c\
39 csr_matvec.c\
40 genpart.c\
41 HYPRE_csr_matrix.c\
42 HYPRE_vector.c\
43 vector.c
44
45OBJS = ${FILES:.c=.o}
46
47##################################################################
48# Targets
49##################################################################
50
51all: libseq_mv.a
52
53clean:
54 @rm -f *.o *.dxx
55
56veryclean: clean
57 @rm -f lib*.a
58
59
60##################################################################
61# Rules
62##################################################################
63
64libseq_mv.a: ${OBJS}
65 @echo "Building $@ ... "
66 ar -rcu $@ ${OBJS}
67 ${RANLIB} $@
68
69${OBJS}: ${HEADERS}
70
71##################################################################
72# Generic rules
73##################################################################
74
75.c.o:
76 ${CC} -o $@ -c ${CFLAGS} $<
77
Note: See TracBrowser for help on using the repository browser.