aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2016-07-20 12:23:16 +0200
committerSzczepan Zalega <szczepan@nitrokey.com>2016-08-01 13:54:56 +0200
commit58b36d43ebdef29399e76d82313ede89c2a838fd (patch)
tree6c32a47303a0dc1b1a1cf479959b576b3349402c /Makefile
parentf3ccdeb50255e940df0caa9b9cc5b232b5e2fbf8 (diff)
downloadlibnitrokey-58b36d43ebdef29399e76d82313ede89c2a838fd.tar.gz
libnitrokey-58b36d43ebdef29399e76d82313ede89c2a838fd.tar.bz2
Makefile: build lib only command
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index cdf5add..5cd0e30 100644
--- a/Makefile
+++ b/Makefile
@@ -16,6 +16,8 @@ DEPENDS = $(CXXSOURCES:%.cc=$(BUILD)/%.d)
all: $(OBJ) $(BUILD)/libnitrokey.so unittest
+lib: $(OBJ) $(BUILD)/libnitrokey.so
+
$(BUILD)/libnitrokey.so: $(OBJ) $(DEPENDS)
$(CXX) $(SOFLAGS) $(OBJ) $(LIB) -o $@