From a0db16048f81313604a06509cc6afeb5cdbf740d Mon Sep 17 00:00:00 2001 From: Szczepan Zalega Date: Sat, 20 Feb 2016 15:23:05 +0100 Subject: compiling own version of lib hid_libusb (copied from nitroapp) and linking it statically with debug messages --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Makefile') 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) -- cgit v1.2.1