mirror of
https://github.com/RPCS3/hidapi.git
synced 2026-07-19 13:34:37 -04:00
Linux: Fix error in Makefile
When the libusb implementation was moved into libusb/, this Makefile didn't get updated properly.
This commit is contained in:
+3
-3
@@ -19,7 +19,7 @@ CXXFLAGS ?= -Wall -g -fpic
|
||||
LDFLAGS ?= -Wall -g
|
||||
|
||||
|
||||
COBJS_HIDRAW = hid.o
|
||||
COBJS = hid.o
|
||||
CPPOBJS = ../hidtest/hidtest.o
|
||||
OBJS = $(COBJS) $(CPPOBJS)
|
||||
LIBS_UDEV = `pkg-config libudev --libs` -lrt
|
||||
@@ -28,11 +28,11 @@ INCLUDES ?= -I../hidapi `pkg-config libusb-1.0 --cflags`
|
||||
|
||||
|
||||
# Console Test Program
|
||||
hidtest-hidraw: $(COBJS_HIDRAW) $(CPPOBJS)
|
||||
hidtest-hidraw: $(COBJS) $(CPPOBJS)
|
||||
$(CXX) $(LDFLAGS) $^ $(LIBS_UDEV) -o $@
|
||||
|
||||
# Shared Libs
|
||||
libhidapi-hidraw.so: $(COBJS_HIDRAW)
|
||||
libhidapi-hidraw.so: $(COBJS)
|
||||
$(CC) $(LDFLAGS) $(LIBS_UDEV) -shared -fpic -Wl,-soname,$@.0 $^ -o $@
|
||||
|
||||
# Objects
|
||||
|
||||
Reference in New Issue
Block a user