From 9a4b78f272b4eaea84f29a9594ac2d362213c838 Mon Sep 17 00:00:00 2001 From: nikto_b Date: Tue, 24 Mar 2026 16:37:41 +0300 Subject: [PATCH] add flatcc dependency --- deps/.gitignore | 1 + deps/Makefile | 25 ++++++++++++++++++------- src/executor/executor.c | 0 3 files changed, 19 insertions(+), 7 deletions(-) delete mode 100644 src/executor/executor.c diff --git a/deps/.gitignore b/deps/.gitignore index 12c2d55..5abe836 100644 --- a/deps/.gitignore +++ b/deps/.gitignore @@ -2,3 +2,4 @@ tomlc99 ptQueue tomlc99 wsServer +flatcc diff --git a/deps/Makefile b/deps/Makefile index c036422..8fa5293 100644 --- a/deps/Makefile +++ b/deps/Makefile @@ -1,26 +1,37 @@ -all: tomlc99.a ptQueue.a libws.a +all: tomlc99/libtoml.a ptQueue/out/ptQueue.a wsServer/libws.a flatcc tomlc99: @git clone https://github.com/cktan/tomlc99 -tomlc99.a: tomlc99 +tomlc99/libtoml.a: tomlc99 @make -C tomlc99 libtoml.a -ptQueue: - @git clone git@192.168.8.167:nikto_b/ptQueue.git +flatcc_src: + @git clone https://github.com/dvidelabs/flatcc -ptQueue.a: ptQueue +flatcc: flatcc/bin/flatcc +flatcc/lib/libflatccrt.a: flatcc/bin/flatcc + +flatcc/bin/flatcc: flatcc_src + @flatcc/scripts/initbuild.sh make + @flatcc/scripts/build.sh + + +ptQueue: + @git clone ssh://git@git.nikto-b.ru:2223/nikto_b/ptQueue.git + +ptQueue/out/ptQueue.a: ptQueue @make -C ptQueue wsServer: @git clone https://github.com/Theldus/wsServer -libws.a: wsServer +wsServer/libws.a: wsServer @make -C wsServer clean: - @rm -rf wsServer ptQueue tomlc99 + @rm -rf wsServer ptQueue tomlc99 flatcc .PHONY: all clean diff --git a/src/executor/executor.c b/src/executor/executor.c deleted file mode 100644 index e69de29..0000000