diff options
author | Szczepan Zalega <szczepan.zalega@gmail.com> | 2016-01-27 11:35:06 +0100 |
---|---|---|
committer | Szczepan Zalega <szczepan.zalega@gmail.com> | 2016-01-27 11:35:06 +0100 |
commit | d8dd70b7f9577322424002b256bb8b2367107a2f (patch) | |
tree | 7ece989ef465afbed1f06f4b1abc0df7f14beceb | |
parent | 9b8ebc6ed1a1fdc15c404774bf102c883a34d990 (diff) | |
download | libnitrokey-d8dd70b7f9577322424002b256bb8b2367107a2f.tar.gz libnitrokey-d8dd70b7f9577322424002b256bb8b2367107a2f.tar.bz2 |
makefile: link libnitrokey.so w/ hidapi-libusb
Signed-off-by: Szczepan Zalega <szczepan.zalega@gmail.com
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | unittest/Makefile | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -16,7 +16,7 @@ DEPENDS = $(CXXSOURCES:%.cc=$(BUILD)/%.d) all: $(OBJ) $(BUILD)/libnitrokey.so unittest $(BUILD)/libnitrokey.so: $(OBJ) $(DEPENDS) - $(CXX) $(SOFLAGS) $(OBJ) -o $@ + $(CXX) $(SOFLAGS) $(OBJ) $(LIB) -o $@ $(BUILD)/%.d: %.cc $(CXX) -M $< -o $@ $(INCLUDE) $(CXXFLAGS) diff --git a/unittest/Makefile b/unittest/Makefile index fb3f4ef..145c738 100644 --- a/unittest/Makefile +++ b/unittest/Makefile @@ -4,7 +4,7 @@ LD = $(CXX) INCLUDE = -I../include LIB = -L../build -LDLIBS = -lhidapi-libusb -lnitrokey +LDLIBS = -lnitrokey BUILD = build CXXFLAGS = -std=c++14 -fPIC |