aboutsummaryrefslogtreecommitdiffstats
path: root/mk/linux.mk
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2022-07-21 12:45:26 +0200
committerMattias Andrée <maandree@kth.se>2022-07-21 12:45:26 +0200
commitd2386fa0e3cc5e80fcfe51f07751d13676655d76 (patch)
tree5bb04bc188f3366fe2e50cca8e05020a8cf3cb6f /mk/linux.mk
parentmissed to set JAVA_HOME (diff)
downloadjlibgamma-d2386fa0e3cc5e80fcfe51f07751d13676655d76.tar.gz
jlibgamma-d2386fa0e3cc5e80fcfe51f07751d13676655d76.tar.bz2
jlibgamma-d2386fa0e3cc5e80fcfe51f07751d13676655d76.tar.xz
Improve makefile, change license to ISC, change code style, remove dist/
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--mk/linux.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/mk/linux.mk b/mk/linux.mk
new file mode 100644
index 0000000..9de2d8d
--- /dev/null
+++ b/mk/linux.mk
@@ -0,0 +1,3 @@
+LIBEXT = so
+OS_CFLAGS = -fPIC
+OS_LDFLAGS = -shared -Wl,-soname,libgamma-java.so.$(LIB_MAJOR)