From d2386fa0e3cc5e80fcfe51f07751d13676655d76 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 21 Jul 2022 12:45:26 +0200 Subject: Improve makefile, change license to ISC, change code style, remove dist/ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- mk/linux.mk | 3 +++ mk/macos.mk | 3 +++ mk/windows.mk | 3 +++ 3 files changed, 9 insertions(+) create mode 100644 mk/linux.mk create mode 100644 mk/macos.mk create mode 100644 mk/windows.mk (limited to 'mk') 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) diff --git a/mk/macos.mk b/mk/macos.mk new file mode 100644 index 0000000..aa8b17b --- /dev/null +++ b/mk/macos.mk @@ -0,0 +1,3 @@ +LIBEXT = dylib +OS_CFLAGS = -fPIC +OS_LDFLAGS = -dynamiclib diff --git a/mk/windows.mk b/mk/windows.mk new file mode 100644 index 0000000..5f83afc --- /dev/null +++ b/mk/windows.mk @@ -0,0 +1,3 @@ +LIBEXT = dll +OS_CFLAGS = +OS_LDFLAGS = -mdll -Wl,-soname,libgamma-java.dll.$(LIB_MAJOR) -- cgit v1.2.3-70-g09d2