mirror of
https://github.com/RPCS3/hidapi.git
synced 2024-11-27 12:00:43 +00:00
Changed to use pkg-config
This commit is contained in:
parent
bf76531664
commit
28ab1e6ac1
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user