1 include $(TOPDIR
)/config.gen.mk
4 CFLAGS
+=-I
$(TOPDIR
)/include/
5 LDFLAGS
+=-L
$(TOPDIR
)/build
/
7 # path to local module directory
8 PYLIBSDIR
=$(TOPDIR
)/pylib
11 PYTHON_INCLUDE
=$(shell $(PYTHON_CONFIG
) --includes
)
14 # To test with other python versions (example):
15 #PYTHON_BIN=${TOPDIR}/virtualpy2.4/bin/python
17 # Command to run Python with pylib/ modules
18 PYTHON
=PYTHONPATH
=$$PYTHONPATH:${PYLIBSDIR} ${PYTHON_BIN} -Werror
20 SWIGOPTS
=-w322
,314 -I
/usr
/include/