-
Notifications
You must be signed in to change notification settings - Fork 3
/
Makefile
40 lines (29 loc) · 1007 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
ALL : etags stokes
PROF?=
CFLAGS+= ${PROF}
ETAGS= etags.emacs
include ${PETSC_DIR}/conf/base
#include ${PETSC_DIR}/bmake/common/base
CLINKER= mpicxx
nk : nk.o chkopts
${CLINKER} -o nk nk.o ${PETSC_LIB}
ex15 : ex15.o chkopts
${CLINKER} -o ex15 ex15.o ${PETSC_LIB}
shell : shell.o chkopts
${CLINKER} -o shell shell.o ${PETSC_LIB}
cheb : cheb.o chebyshev.o chkopts
${CLINKER} -o cheb cheb.o chebyshev.o -lfftw3 ${PETSC_LIB}
poisson : poisson.o chebyshev.o chkopts
${CLINKER} -o poisson poisson.o chebyshev.o -lfftw3 ${PETSC_LIB}
elliptic : elliptic.o chebyshev.o chkopts
@-echo 'Linking elliptic'
@-${CLINKER} -o elliptic elliptic.o chebyshev.o ${PROF} -lfftw3 ${PETSC_LIB}
stokes : stokes.o chebyshev.o chkopts
@-echo 'Linking stokes'
@-${CLINKER} -o stokes stokes.o chebyshev.o ${PROF} -lfftw3 ${PETSC_LIB}
istest : istest.o chkopts
${CLINKER} -o istest istest.o ${PETSC_LIB}
util : util.o chkopts
${CLINKER} -o util util.o ${PETSC_LIB}
etags : chebyshev.c stokes.C util.C
${ETAGS} $^