Last change
on this file since 2197 was
2115,
checked in by jack, 19 years ago
|
Moved test_metis.py to pymetis.
Minor Makefile and documentation corrections.
|
File size:
779 bytes
|
Rev | Line | |
---|
[2051] | 1 | ### |
---|
| 2 | # PyMetis Makefile |
---|
| 3 | # |
---|
| 4 | |
---|
| 5 | ### |
---|
| 6 | # Config |
---|
| 7 | # |
---|
| 8 | |
---|
| 9 | METIS_DIR = metis-4.0 |
---|
| 10 | |
---|
| 11 | ### |
---|
| 12 | # Build |
---|
| 13 | # |
---|
| 14 | |
---|
| 15 | pymetis: metis pymetis_module |
---|
| 16 | |
---|
| 17 | metis: |
---|
| 18 | make -C $(METIS_DIR) |
---|
| 19 | |
---|
| 20 | pymetis_module: |
---|
| 21 | (cd pymetis; METIS_DIR=$(METIS_DIR) python setup.py build; ./get_module) |
---|
| 22 | |
---|
[2098] | 23 | for_win32: metis_win32 pymetis_module_win32 |
---|
[2085] | 24 | |
---|
[2098] | 25 | metis_win32: |
---|
| 26 | make -C win32 METIS_DIR=$(METIS_DIR) |
---|
| 27 | ########make -C $(METIS_DIR)/Lib is implied by make -C win32 |
---|
| 28 | make -C $(METIS_DIR)/Programs |
---|
| 29 | make -C $(METIS_DIR)/Test |
---|
| 30 | |
---|
| 31 | pymetis_module_win32: |
---|
| 32 | (cd pymetis; METIS_DIR=$(METIS_DIR) python setup.py build --compiler=mingw32; ./get_module) |
---|
| 33 | |
---|
[2051] | 34 | ### |
---|
| 35 | # Clean |
---|
| 36 | # |
---|
| 37 | |
---|
| 38 | clean: |
---|
| 39 | make -C $(METIS_DIR) clean |
---|
[2098] | 40 | make -C win32 clean |
---|
[2051] | 41 | -(cd pymetis; rm -rf build) |
---|
| 42 | -(cd pymetis; rm *~) |
---|
| 43 | -rm *~ |
---|
| 44 | |
---|
| 45 | realclean: clean |
---|
| 46 | make -C $(METIS_DIR) realclean |
---|
[2115] | 47 | -rm -f metis.so |
---|
| 48 | -rm -f metis.pyd |
---|
Note: See
TracBrowser
for help on using the repository browser.