Changed to use pkg-config

This commit is contained in:
Alan Ott 2010-08-17 22:50:31 -04:00
parent bf76531664
commit 28ab1e6ac1

View File

@ -13,8 +13,8 @@ CXX=g++
COBJS=hid-libusb.o
CPPOBJS=../hidtest/hidtest.o
OBJS=$(COBJS) $(CPPOBJS)
CFLAGS=-I../hidapi -Wall -g -c
LIBS=-ludev -lusb-1.0
CFLAGS=-I../hidapi -Wall -g -c `pkg-config libusb-1.0 --cflags`
LIBS=-ludev `pkg-config libusb-1.0 --libs`
hidtest: $(OBJS)