source: trunk/anuga_core/source/anuga_parallel/pymetis/Makefile @ 7928

Last change on this file since 7928 was 2842, checked in by jack, 18 years ago

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

File size: 779 bytes
Line 
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
17metis:
18        make -C $(METIS_DIR)
19
20pymetis_module:
21        (cd pymetis; METIS_DIR=$(METIS_DIR) python setup.py build; ./get_module)
22
23for_win32: metis_win32 pymetis_module_win32
24
25metis_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
31pymetis_module_win32:
32        (cd pymetis; METIS_DIR=$(METIS_DIR) python setup.py build --compiler=mingw32; ./get_module)
33
34###
35# Clean
36#
37
38clean:
39        make -C $(METIS_DIR) clean
40        make -C win32 clean
41        -(cd pymetis; rm -rf build)
42        -(cd pymetis; rm *~)
43        -rm *~
44
45realclean: clean
46        make -C $(METIS_DIR) realclean
47        -rm -f metis.so
48        -rm -f metis.pyd
Note: See TracBrowser for help on using the repository browser.