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