summaryrefslogtreecommitdiff
path: root/python/Makefile
diff options
context:
space:
mode:
authorlaforge <laforge@e0336214-984f-0b4b-a45f-81c69e1f0ede>2008-02-08 15:12:15 +0000
committerlaforge <laforge@e0336214-984f-0b4b-a45f-81c69e1f0ede>2008-02-08 15:12:15 +0000
commite3d49c4785528982b87e22628080e5447713913b (patch)
treea935f45bc2f9a5de6761807872681b23184c1c74 /python/Makefile
parente5766cb30cb49f8b43be2979529bda84f9f21a2b (diff)
python update (Kushal Das)
git-svn-id: https://svn.gnumonks.org/trunk/librfid@2078 e0336214-984f-0b4b-a45f-81c69e1f0ede
Diffstat (limited to 'python/Makefile')
-rw-r--r--python/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/python/Makefile b/python/Makefile
index 28fd93c..5a77b15 100644
--- a/python/Makefile
+++ b/python/Makefile
@@ -5,13 +5,13 @@ PYTHON_VER=2.5
PYTHON_INC=$(PREFIX)/include/python$(PYTHON_VER)
PYTHON_LIB=$(PREFIX)/lib/python$(PYTHON_VER)/site-packages/
LIBRFID_DIR=../src/.libs/librfid.la
-LIBUSB_DIR=/usr/local/lib
+LIBOPENPCD_DIR=/usr/local/openpcd/lib
SOURCE_MAIN=pyrfid.c
-SOURCES=$(SOURCE_MAIN) ../utils/common.c
+SOURCES=$(SOURCE_MAIN) openpcd.c
INCLUDES=-I$(PYTHON_INC) -I../include/ -I../utils/
CFLAGS=-O3 -Wall $(INCLUDES)
-LDFLAGS=-shared -L$(LIBRFID_DIR) -lrfid -L$(LIBUSB_DIR) -lusb -Wl,--rpath -Wl,/usr/local/lib $(LIBS)
+LDFLAGS=-shared -L$(LIBRFID_DIR) -lrfid -L$(LIBOPENPCD_DIR) -lusb -Wl,--rpath -Wl,/usr/local/lib $(LIBS)
TARGET=$(SOURCE_MAIN:.c=.so)
OBJECTS=$(SOURCES:.c=.o)
personal git repositories of Harald Welte. Your mileage may vary