source: CIVL/examples/mpi-omp/AMG2013/test/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: 3.1 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 .o
16
17srcdir = .
18
19include ../Makefile.include
20
21CFLAGS = \
22 -I..\
23 -I../utilities\
24 -I../struct_mv\
25 -I../sstruct_mv\
26 -I../IJ_mv\
27 -I../seq_mv\
28 -I../parcsr_mv\
29 -I../parcsr_ls\
30 -I../krylov\
31 ${INCLUDE_CFLAGS}\
32 -DHYPRE_TIMING
33
34LFLAGS =\
35 -L.\
36 -L../parcsr_ls\
37 -L../parcsr_mv\
38 -L../IJ_mv\
39 -L../seq_mv\
40 -L../sstruct_mv\
41 -L../struct_mv\
42 -L../krylov\
43 -L../utilities\
44 -lparcsr_ls\
45 -lparcsr_mv\
46 -lseq_mv\
47 -lsstruct_mv\
48 -lIJ_mv\
49 -lHYPRE_struct_mv\
50 -lkrylov\
51 -lHYPRE_utilities\
52 ${INCLUDE_LFLAGS}
53
54##################################################################
55# Targets
56##################################################################
57
58all: amg2013
59
60clean:
61 @rm -f *.o
62
63veryclean: clean
64 @rm -f amg2013
65
66##################################################################
67# Rules
68##################################################################
69
70amg2013: amg2013.o
71 @echo "Linking" $@ "... "
72 ${CC} -o amg2013 amg2013.o ${LFLAGS}
73
74
75##################################################################
76# Generic rules
77##################################################################
78
79.c.o:
80 ${CC} -o $@ -c ${CFLAGS} $<
81
Note: See TracBrowser for help on using the repository browser.