From fa304767b5746d4ee7f4bef1cfda0570d03066cc Mon Sep 17 00:00:00 2001 From: kaotisk Date: Wed, 2 Apr 2025 21:04:37 +0300 Subject: [C] Necessary refactoring --- c_implementation/build_tree/ak_logcatter_build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'c_implementation/build_tree/ak_logcatter_build.sh') diff --git a/c_implementation/build_tree/ak_logcatter_build.sh b/c_implementation/build_tree/ak_logcatter_build.sh index 5038073..aa321cb 100755 --- a/c_implementation/build_tree/ak_logcatter_build.sh +++ b/c_implementation/build_tree/ak_logcatter_build.sh @@ -1,7 +1,7 @@ echo "Building lib/aklogcatter.so" && \ -gcc -c -shared -Wextra -Wall -Werror -pedantic -ggdb -fPIC -I./include aklogcatter.c -o lib/aklogcatter.so && \ +gcc -c -shared -Wextra -Wall -Werror -pedantic -ggdb -fPIC -I./include src/aklogcatter.c -o lib/libaklogcatter.so && \ echo "Building tests/test_aklogcatter" && \ -gcc -Wextra -Wall -Werror -pedantic -ggdb -Wl,-rpath=lib -I./include tests/test_aklogcatter.c lib/aklog.so lib/aklogcatter.so -o tests/test_aklogcatter && \ +gcc -Wextra -Wall -Werror -pedantic -ggdb -Wl,-rpath=lib -I./include tests/test_aklogcatter.c lib/libaklog.so lib/libaklogcatter.so -o tests/test_aklogcatter && \ echo "Running test_aklogcatter" && \ time ./tests/test_aklogcatter && \ rm ./tests/test_aklogcatter -- cgit v1.2.3