Proper Python includes

This commit is contained in:
Ondrej Mikle 2014-07-19 20:38:33 +02:00
parent 05bd1d4de0
commit faf8eb9cd7

View file

@ -1,4 +1,5 @@
CXXFLAGS += -Wall -g -I /usr/include/python2.6/ -fPIC
PYTHON_INCLUDES := $(shell python-config --includes)
CXXFLAGS += -Wall -g $(PYTHON_INCLUDES) -fPIC
LDFLAGS += -lnfc
OBJECTS = brmdoor_nfc.o brmdoor_nfc_wrap.o
SWIG_GENERATED = brmdoor_nfc_wrap.cxx brmdoor_nfc.py