diff options
-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 |