all: hello_ext.so


hello.o: hello.cpp 
	g++  -ftemplate-depth-128 -O0 -fno-inline -Wall -g -dynamic -no-cpp-precomp -gdwarf-2 -fexceptions -fPIC -I$(ISSM_TIER)/externalpackages/boost/install/include  -I$(ISSM_TIER)/externalpackages/python/install/Python.framework/Versions/3.2/include/python3.2 -c -o hello.o hello.cpp

hello_ext.so: hello.o
	g++ -headerpad_max_install_names -g -dynamiclib -Wl,-single_module -install_name hello_ext.so  -o hello_ext.so  hello.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    

clean:
	rm hello_ext.so hello.o
