aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan.zalega@gmail.com>2016-02-20 15:23:05 +0100
committerSzczepan Zalega <szczepan.zalega@gmail.com>2016-02-20 15:23:05 +0100
commita0db16048f81313604a06509cc6afeb5cdbf740d (patch)
treeeff23c3e2963928c0e95dd65b7aedfcda0c8748f /Makefile
parent6a8151c3a25b09a12118343342fdd87b3d429a83 (diff)
downloadlibnitrokey-a0db16048f81313604a06509cc6afeb5cdbf740d.tar.gz
libnitrokey-a0db16048f81313604a06509cc6afeb5cdbf740d.tar.bz2
compiling own version of lib hid_libusb (copied from nitroapp) and linking it statically with debug messages
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)