summaryrefslogtreecommitdiffhomepage
path: root/makefile
diff options
context:
space:
mode:
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."