source: CIVL/examples/mpi-omp/AMG2013/IJ_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.7 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../struct_mv\
25 -I../seq_mv\
26 -I../parcsr_mv\
27 -I../parcsr_ls\
28 ${INCLUDE_CFLAGS}
29
30RANLIB = ranlib
31
32HEADERS =\
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
41FILES =\
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
50OBJS = ${FILES:.c=.o}
51
52##################################################################
53# Targets
54##################################################################
55
56all: libIJ_mv.a
57
58clean:
59 @rm -f *.o *.dxx
60
61veryclean: clean
62 @rm -f lib*.a
63
64##################################################################
65# Rules
66##################################################################
67
68libIJ_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.