source: CIVL/examples/mpi-omp/AMG2013/parcsr_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.3 KB
RevLine 
[2aa6644]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 -I../seq_mv\
25 ${INCLUDE_CFLAGS}
26
27RANLIB = ranlib
28
29HEADERS =\
30 headers.h\
31 HYPRE_parcsr_mv.h\
32 new_commpkg.h\
33 par_csr_communication.h\
34 par_csr_matrix.h\
35 parcsr_mv.h\
36 par_vector.h
37
38FILES =\
39 HYPRE_parcsr_matrix.c\
40 HYPRE_parcsr_vector.c\
41 new_commpkg.c\
42 par_csr_assumed_part.c\
43 par_csr_communication.c\
44 par_csr_matop.c\
45 par_csr_matrix.c\
46 par_csr_matop_marked.c\
47 par_csr_matvec.c\
48 par_vector.c
49
50OBJS = ${FILES:.c=.o}
51
52##################################################################
53# Targets
54##################################################################
55
56all: libparcsr_mv.a
57
58
59clean:
60 @rm -f *.o *.dxx
61
62veryclean: clean
63 @rm -f lib*.a
64
65##################################################################
66# Rules
67##################################################################
68
69libparcsr_mv.a: ${OBJS}
70 @echo "Building $@ ... "
71 ar -rcu $@ ${OBJS}
72 ${RANLIB} $@
73
74${OBJS}: ${HEADERS}
75
76##################################################################
77# Generic rules
78##################################################################
79
80.c.o:
81 ${CC} -o $@ -c ${CFLAGS} $<
Note: See TracBrowser for help on using the repository browser.