+ update makefiles to fetch automatically valid Python includes and libs
[qpalma.git] / DynProg / Makefile
index d025098..b701705 100644 (file)
@@ -18,8 +18,8 @@ HDRS= Mathmatics.h\
 
 OBJS = $(SRCS:%.cpp=%.o)
 
-PY_INCL=`python-config --includes`
-PY_LIBS=`python-config --libs`
+PY_INCL=`python-config --cflags`
+PY_LIBS=`python-config --ldflags`
 
 CXXFLAGS=-Wall -std=c++98 -ggdb -O3 -fPIC $(PY_INCL)