aboutsummaryrefslogtreecommitdiffstats
path: root/mk/linux.mk
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-09-16 18:13:08 +0200
committerMattias Andrée <maandree@kth.se>2021-09-16 18:13:08 +0200
commit090009a8e107888fb9f1ab5a2997d65c8c121398 (patch)
treeebb909ccbc6f6d29af5469964953aac987b86960 /mk/linux.mk
parentwhitespace (diff)
downloadlibred-090009a8e107888fb9f1ab5a2997d65c8c121398.tar.gz
libred-090009a8e107888fb9f1ab5a2997d65c8c121398.tar.bz2
libred-090009a8e107888fb9f1ab5a2997d65c8c121398.tar.xz
Improve makefile + minor fixes and improvements1.0.2
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'mk/linux.mk')
-rw-r--r--mk/linux.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/mk/linux.mk b/mk/linux.mk
new file mode 100644
index 0000000..c180f9b
--- /dev/null
+++ b/mk/linux.mk
@@ -0,0 +1,4 @@
+LIBEXT = so
+LIBFLAGS = -shared -Wl,-soname,libred.$(LIBEXT).$(LIB_MAJOR)
+LIBMAJOREXT = $(LIBEXT).$(LIB_MAJOR)
+LIBMINOREXT = $(LIBEXT).$(LIB_VERSION)