summaryrefslogtreecommitdiffhomepage
path: root/makefile
diff options
context:
space:
mode:
authorAmlal EL Mahrouss <amlalelmahrouss@icloud.com>2024-08-08 00:19:14 +0200
committerAmlal EL Mahrouss <amlalelmahrouss@icloud.com>2024-08-08 00:19:14 +0200
commit5fd78848bc39ae73c85ea29b2fc13ebbf740c223 (patch)
tree13aa61d48135fe34a742b6ecbaba099ec905752a /makefile
parentf3b606161a8f667cdfa5a2b11eb949ce2da8231c (diff)
[UNSTABLE] [IMP] NDK DLL, needs refactoring though.
Signed-off-by: Amlal EL Mahrouss <amlalelmahrouss@icloud.com>
Diffstat (limited to 'makefile')
-rw-r--r--makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/makefile b/makefile
new file mode 100644
index 0000000..5dae246
--- /dev/null
+++ b/makefile
@@ -0,0 +1,8 @@
+FLAGS=-I./NDKKit -I./ -D__NDK_MODULE__ -I./NDKKit/Sources/Detail -fPIC -I./Private -shared -std=c++20
+CC=x86_64-w64-mingw32-g++.exe
+OUT=libNDK.dll
+
+.PHONY: build-lib
+build-lib:
+ $(CC) $(FLAGS) $(wildcard NDKKit/Sources/*.cxx) -o $(OUT)
+ @echo "=> OK."