# the top level directory of python.
PYTHONTOP = /usr/include
# the folder where python headers are located
C_FLAGS += -I$(PYTHONTOP)/python2.6
# libraries we have to include.
LIBS += -Xlinker -export-dynamic -lm -ldl -lutil -L/usr/lib/python2.6/config -lpython2.6
Thanks in advance!