source: issm/trunk-jpl/src/py/modules/Test/Makefile.bak@ 11975

Last change on this file since 11975 was 11975, checked in by Eric.Larour, 13 years ago

Some prototyping of Python modules. For a history of how to make the NumPY C API work

File size: 563 bytes
RevLine 
[11975]1all: Test2.so
2
3
4Test2.o: Test2.cpp
5 g++ -I$(ISSM_TIER)/externalpackages/boost/install/include -I$(ISSM_TIER)/externalpackages/python/install/Python.framework/Versions/3.2/include/python3.2 -c -o Test2.o Test2.cpp
6
7Test2.so: Test2.o
8 g++ -dynamiclib -o Test2.so Test2.o -L$(ISSM_TIER)/externalpackages/boost/install/lib -lboost_python -L$(ISSM_TIER)/externalpackages/python/install/Python.framework/Versions/3.2/lib -L$(ISSM_TIER)/externalpackages/python/install/Python.framework/Versions/3.2/lib/python3.2/config -lpython3.2
9
10clean:
11 rm Test2.so Test2.o
Note: See TracBrowser for help on using the repository browser.