From c54e1b8a4b2d9d6334934207a5a2c33a6c47dc69 Mon Sep 17 00:00:00 2001 From: okay Date: Sat, 2 Mar 2024 20:05:33 -0800 Subject: [PATCH] [rmkit] add libfbink make rules --- Makefile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Makefile b/Makefile index 810a410..31ae922 100644 --- a/Makefile +++ b/Makefile @@ -69,6 +69,20 @@ rmkit.h: mkdir src/build > /dev/null || true cd src/rmkit && make +ifdef FBINK +CPP_FLAGS+=-L./src/vendor/FBInk/Release -l:libfbink.a -D"RMKIT_FBINK=1" +libfbink: + git submodule init + git submodule update + cd src/vendor/FBInk/ && git submodule init && git submodule update + cd src/vendor/FBInk/ && BITMAP=1 make staticlib + cp src/vendor/FBInk/fbink.h src/vendor/ +else +libfbink: + @true +endif + + docker: docker build --tag ${DOCKERBUILD} . -f docker/${DOCKERFILE} bash scripts/build/docker_release.sh