source: inundation/pymetis/Makefile @ 2085

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

Update with precompiled metis 4.0 for windows.
New makefile target: for_win32 which should build (unable to test)
Updated README with instructions on building for windows.

File size: 516 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:
24        (cd pymetis; METIS_DIR=$(METIS_DIR)-win32 python setup.py build --compiler=mingw32; ./get_module)
25
26###
27# Clean
28#
29
30clean:
31        make -C $(METIS_DIR) clean
32        -(cd pymetis; rm -rf build)
33        -(cd pymetis; rm *~)
34        -rm *~
35
36realclean: clean
37        make -C $(METIS_DIR) realclean
38        -rm metis.so
Note: See TracBrowser for help on using the repository browser.