Newer
Older
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
# $Id: Makefile,v 1.1 2005-09-07 17:12:16 remacle Exp $
#
# Copyright (C) 1997-2005 C. Geuzaine, J.-F. Remacle
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
# USA.
#
# Please report all bugs and problems to <gmsh@geuz.org>.
include ../variables
LIB = ../lib/libGmshMetis.a
INCLUDE = -I.
CFLAGS = ${OPTIM} ${FLAGS} ${INCLUDE} -DNO_PARALLEL_THREADS -UWIN32
SRC = balance.c \
fm.c \
kwayfm.c \
mcoarsen.c \
minitpart2.c \
mpmetis.c \
pmetis.c \
subdomains.c\
bucketsort.c \
fortran.c \
kwayrefine.c\
memory.c \
minitpart.c \
mrefine2.c\
pqueue.c\
timing.c\
ccgraph.c \
frename.c \
kwayvolfm.c\
mesh.c\
mkmetis.c\
mrefine.c \
refine.c \
util.c\
coarsen.c \
graph.c\
kwayvolrefine.c \
meshpart.c \
mkwayfmh.c \
mutil.c \
separator.c\
compress.c\
initpart.c\
match.c\
mfm2.c \
mkwayrefine.c\
myqsort.c\
sfm.c\
debug.c \
kmetis.c \
mbalance2.c\
mfm.c \
mmatch.c \
ometis.c \
srefine.c\
estmem.c \
kvmetis.c\
mbalance.c \
mincover.c \
mmd.c \
parmetis.c \
stat.c
OBJ = ${SRC:.c=.o}
.SUFFIXES: .o .c
${LIB}: ${OBJ}
${AR} ${LIB} ${OBJ}
${RANLIB} ${LIB}
.c.o:
${CC} ${CFLAGS} -c $< -o ${<:.c=.o}
clean:
rm -f src/*.o
depend:
(sed '/^# DO NOT DELETE THIS LINE/q' Makefile && \
${CXX} -MM ${CFLAGS} ${SRC} \
) >Makefile.new
cp Makefile Makefile.bak
cp Makefile.new Makefile
rm -f Makefile.new
# DO NOT DELETE THIS LINE