source: inundation/pymetis/Makefile @ 3236

Last change on this file since 3236 was 2842, checked in by jack, 19 years ago

Rolled back the patching of the metis sources. Now passes the unittest
on x86_64.

File size: 779 bytes
RevLine 
[2051]1###
2# PyMetis Makefile
3#
4
5###
6# Config
7#
8
9METIS_DIR = metis-4.0
10
11###
12# Build
13#
14
15pymetis: metis pymetis_module
16
[2842]17metis:
[2051]18        make -C $(METIS_DIR)
19
20pymetis_module:
21        (cd pymetis; METIS_DIR=$(METIS_DIR) python setup.py build; ./get_module)
22
[2098]23for_win32: metis_win32 pymetis_module_win32
[2085]24
[2842]25metis_win32:
[2098]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
31pymetis_module_win32:
32        (cd pymetis; METIS_DIR=$(METIS_DIR) python setup.py build --compiler=mingw32; ./get_module)
33
[2051]34###
[2842]35# Clean
[2806]36#
37
[2051]38clean:
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
45realclean: 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.