aboutsummaryrefslogtreecommitdiffstats
path: root/linux.mk
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2019-02-10 18:09:37 +0100
committerMattias Andrée <maandree@kth.se>2019-02-10 18:09:37 +0100
commitdbad0c3027a170e51a4a33c381bc24ec2ec8b09b (patch)
tree02bfae57552f0ad114a6a5c644c68cb46b162b06 /linux.mk
parentAdd tests for HMAC (diff)
downloadlibsha2-dbad0c3027a170e51a4a33c381bc24ec2ec8b09b.tar.gz
libsha2-dbad0c3027a170e51a4a33c381bc24ec2ec8b09b.tar.bz2
libsha2-dbad0c3027a170e51a4a33c381bc24ec2ec8b09b.tar.xz
Improve makefile1.0
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'linux.mk')
-rw-r--r--linux.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/linux.mk b/linux.mk
new file mode 100644
index 0000000..3618fcd
--- /dev/null
+++ b/linux.mk
@@ -0,0 +1,5 @@
+LIBEXT = so
+LIBFLAGS = -shared -Wl,-soname,libsha2.$(LIBEXT).$(LIB_MAJOR)
+
+LIBMAJOREXT = $(LIBEXT).$(LIB_MAJOR)
+LIBMINOREXT = $(LIBEXT).$(LIB_MAJOR).$(LIB_MINOR)