add flatcc dependency

This commit is contained in:
2026-03-24 16:37:41 +03:00
parent aaa858b903
commit 9a4b78f272
3 changed files with 19 additions and 7 deletions

1
deps/.gitignore vendored
View File

@@ -2,3 +2,4 @@ tomlc99
ptQueue
tomlc99
wsServer
flatcc

25
deps/Makefile vendored
View File

@@ -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