summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 1b4a261..6e0ede7 100644
--- a/Makefile
+++ b/Makefile
@@ -3,10 +3,11 @@ CXX = $(PREFIX)-g++
LD = $(CXX)
INCLUDE = -Iinclude/
-LIB = -lhidapi-libusb
+LIB = -lusb-1.0
+#LIB = -lhidapi-libusb
BUILD = build
-CXXFLAGS = -std=c++14 -fPIC
+CXXFLAGS = -std=c++14 -fPIC -fpermissive
SOFLAGS = -shared
CXXSOURCES = $(wildcard *.cc)