restruct repository to ytest, create shared library for ytest

This commit is contained in:
2023-10-17 14:13:07 +02:00
parent d594aacd46
commit 09d4532e01
44 changed files with 1673 additions and 163 deletions
+15
View File
@@ -0,0 +1,15 @@
#!/bin/bash
for yfile in y*
do
cp -r "$yfile/include" include_ytest/
done
gcc -c -Wall -Werror -fpic yftest/src/ftest/ftest.c yfmock/src/fmock/fmock.c \
ytools_t/src/tools_t/tools_t.c ybar_progress/src/bar_progress/bar_progress.c \
-I./include_ytest/include $1 -lpthread
gcc -shared -o libytest.so *.o
rm *.o