summaryrefslogtreecommitdiffstats
path: root/linux.mk
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-09-08 20:54:25 +0200
committerMattias Andrée <maandree@kth.se>2021-09-08 20:54:25 +0200
commitb73b10c4659994ec48f72f639bd308768764f2e8 (patch)
tree821dd8669fc881a02b9225623654466ce002361e /linux.mk
parenttest: m + test separator removal (diff)
downloadlibnumtext-b73b10c4659994ec48f72f639bd308768764f2e8.tar.gz
libnumtext-b73b10c4659994ec48f72f639bd308768764f2e8.tar.bz2
libnumtext-b73b10c4659994ec48f72f639bd308768764f2e8.tar.xz
Add dynamic library
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..2659516
--- /dev/null
+++ b/linux.mk
@@ -0,0 +1,5 @@
+LIBEXT = so
+LIBFLAGS = -shared -Wl,-soname,libnumtext.$(LIBEXT).$(LIB_MAJOR)
+
+LIBMAJOREXT = $(LIBEXT).$(LIB_MAJOR)
+LIBMINOREXT = $(LIBEXT).$(LIB_VERSION)