aboutsummaryrefslogtreecommitdiffstats
path: root/mk/linux.mk
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-04-08 21:45:55 +0200
committerMattias Andrée <maandree@kth.se>2021-04-08 21:45:55 +0200
commit3c1973e9ef647cafbffb42760a905e79966f43bd (patch)
tree996fd9eb9ebcfc276184098a32ca42a9203ad8f5 /mk/linux.mk
parentAdd more sequences and remove pause key as it conflicts with F1 (diff)
downloadlibterminput-3c1973e9ef647cafbffb42760a905e79966f43bd.tar.gz
libterminput-3c1973e9ef647cafbffb42760a905e79966f43bd.tar.bz2
libterminput-3c1973e9ef647cafbffb42760a905e79966f43bd.tar.xz
Add build of dynamically linked library
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..71922e7
--- /dev/null
+++ b/mk/linux.mk
@@ -0,0 +1,4 @@
+LIBEXT = so
+LIBFLAGS = -shared -Wl,-soname,libterminput.$(LIBEXT).$(LIB_MAJOR)
+LIBMAJOREXT = $(LIBEXT).$(LIB_MAJOR)
+LIBMINOREXT = $(LIBEXT).$(LIB_VERSION)