### # PyMetis Makefile # ### # Config # METIS_DIR = metis-4.0 ### # Build # pymetis: metis pymetis_module metis: patched make -C $(METIS_DIR) pymetis_module: (cd pymetis; METIS_DIR=$(METIS_DIR) python setup.py build; ./get_module) for_win32: metis_win32 pymetis_module_win32 metis_win32: patched make -C win32 METIS_DIR=$(METIS_DIR) ########make -C $(METIS_DIR)/Lib is implied by make -C win32 make -C $(METIS_DIR)/Programs make -C $(METIS_DIR)/Test pymetis_module_win32: (cd pymetis; METIS_DIR=$(METIS_DIR) python setup.py build --compiler=mingw32; ./get_module) ### # Patch the metis sources to use long as the idxtype # (for x86_64 mainly, but this allows a drop-in of the metis dir.) # patched: patch -p0