source: branches/inundation-numpy-branch/pymetis/metis-4.0/Test/Makefile @ 7256

Last change on this file since 7256 was 2051, checked in by jack, 19 years ago

Python interface to metis. Currently provides only the
METIS_PartMeshNodal function, since that is what is currently needed for partitioning.
Module name is metis.

File size: 456 bytes
Line 
1include ../Makefile.in
2
3BINDIR = ../Graphs
4
5INCLUDES = -I../Lib
6CFLAGS = $(COPTIONS) $(OPTFLAGS) $(INCLUDES)
7
8LIBS = -lmetis -lm
9LD = $(CC) $(LDOPTIONS) -L. -L..
10METISLIB = ../libmetis.a
11
12
13
14MTESTOBJS = mtest.o ../Programs/io.o
15
16
17.c.o:
18        $(CC) $(CFLAGS) -c $*.c
19
20default: $(BINDIR)/mtest
21
22$(BINDIR)/mtest: $(MTESTOBJS) $(METISLIB)
23        $(LD)  -o $@ $(MTESTOBJS) $(LIBS)
24        chmod 755 $@
25
26clean:
27        rm -f *.o
28
29realclean:
30        rm -f *.o ;\
31        rm -f $(BINDIR)/mtest
Note: See TracBrowser for help on using the repository browser.