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

Last change on this file since 8495 was 8443, checked in by steve, 13 years ago

Added sh get_module to Makefile for pymetis

File size: 799 bytes
Line 
1###
2# PyMetis Makefile
3#
4
5###
6# Config
7#
8COPTIONS = -fPIC
9
10METIS_DIR = metis-4.0
11
12###
13# Build
14#
15
16pymetis: metis pymetis_module
17
18metis:
19        make -C $(METIS_DIR)
20
21pymetis_module:
22        (cd pymetis; METIS_DIR=$(METIS_DIR) python setup.py build; sh ./get_module)
23
24for_win32: metis_win32 pymetis_module_win32
25
26metis_win32:
27        make -C win32 METIS_DIR=$(METIS_DIR)
28########make -C $(METIS_DIR)/Lib is implied by make -C win32
29        make -C $(METIS_DIR)/Programs
30        make -C $(METIS_DIR)/Test
31
32pymetis_module_win32:
33        (cd pymetis; METIS_DIR=$(METIS_DIR) python setup.py build --compiler=mingw32; ./get_module)
34
35###
36# Clean
37#
38
39clean:
40        make -C $(METIS_DIR) clean
41        make -C win32 clean
42        -(cd pymetis; rm -rf build)
43        -(cd pymetis; rm *~)
44        -rm *~
45
46realclean: clean
47        make -C $(METIS_DIR) realclean
48        -rm -f metis.so
49        -rm -f metis.pyd
Note: See TracBrowser for help on using the repository browser.