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.5 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 |
|
|---|
| 17 | srcdir = .
|
|---|
| 18 |
|
|---|
| 19 | include ../Makefile.include
|
|---|
| 20 |
|
|---|
| 21 | CFLAGS =\
|
|---|
| 22 | -I..\
|
|---|
| 23 | -I../utilities\
|
|---|
| 24 | -I../krylov\
|
|---|
| 25 | -I../seq_mv\
|
|---|
| 26 | -I../parcsr_mv\
|
|---|
| 27 | -I../IJ_mv\
|
|---|
| 28 | ${INCLUDE_CFLAGS}
|
|---|
| 29 | RANLIB = ranlib
|
|---|
| 30 |
|
|---|
| 31 | HEADERS =\
|
|---|
| 32 | aux_interp.h\
|
|---|
| 33 | headers.h\
|
|---|
| 34 | HYPRE_parcsr_ls.h\
|
|---|
| 35 | par_amg.h\
|
|---|
| 36 | parcsr_ls.h
|
|---|
| 37 |
|
|---|
| 38 | FILES =\
|
|---|
| 39 | aux_interp.c\
|
|---|
| 40 | gen_redcs_mat.c\
|
|---|
| 41 | HYPRE_parcsr_amg.c\
|
|---|
| 42 | HYPRE_parcsr_gmres.c\
|
|---|
| 43 | HYPRE_parcsr_pcg.c\
|
|---|
| 44 | par_amg.c\
|
|---|
| 45 | par_amg_setup.c\
|
|---|
| 46 | par_amg_solve.c\
|
|---|
| 47 | par_cg_relax_wt.c\
|
|---|
| 48 | par_coarsen.c\
|
|---|
| 49 | par_coarse_parms.c\
|
|---|
| 50 | par_cycle.c\
|
|---|
| 51 | par_indepset.c\
|
|---|
| 52 | par_interp.c\
|
|---|
| 53 | par_jacobi_interp.c\
|
|---|
| 54 | par_multi_interp.c\
|
|---|
| 55 | par_laplace_27pt.c\
|
|---|
| 56 | par_laplace.c\
|
|---|
| 57 | par_lr_interp.c\
|
|---|
| 58 | par_nodal_systems.c\
|
|---|
| 59 | par_rap.c\
|
|---|
| 60 | par_rap_communication.c\
|
|---|
| 61 | par_vardifconv.c\
|
|---|
| 62 | par_relax.c\
|
|---|
| 63 | par_relax_interface.c\
|
|---|
| 64 | par_scaled_matnorm.c\
|
|---|
| 65 | par_stats.c\
|
|---|
| 66 | par_strength.c\
|
|---|
| 67 | partial.c\
|
|---|
| 68 | pcg_par.c\
|
|---|
| 69 | par_relax_more.c
|
|---|
| 70 | OBJS = ${FILES:.c=.o}
|
|---|
| 71 |
|
|---|
| 72 | ##################################################################
|
|---|
| 73 | # Targets
|
|---|
| 74 | ##################################################################
|
|---|
| 75 |
|
|---|
| 76 | all: libparcsr_ls.a
|
|---|
| 77 |
|
|---|
| 78 | clean:
|
|---|
| 79 | @rm -f *.o *.dxx
|
|---|
| 80 |
|
|---|
| 81 | veryclean: clean
|
|---|
| 82 | @rm -f lib*.a
|
|---|
| 83 |
|
|---|
| 84 | ##################################################################
|
|---|
| 85 | # Rules
|
|---|
| 86 | ##################################################################
|
|---|
| 87 |
|
|---|
| 88 | libparcsr_ls.a: ${OBJS}
|
|---|
| 89 | @echo "Building $@ ... "
|
|---|
| 90 | ar -rcu $@ ${OBJS}
|
|---|
| 91 | ${RANLIB} $@
|
|---|
| 92 |
|
|---|
| 93 | ${OBJS}: ${HEADERS}
|
|---|
| 94 |
|
|---|
| 95 | ##################################################################
|
|---|
| 96 | # Generic rules
|
|---|
| 97 | ##################################################################
|
|---|
| 98 |
|
|---|
| 99 | .c.o:
|
|---|
| 100 | ${CC} -o $@ -c ${CFLAGS} $<
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.