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_log_build.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'c_implementation/build_tree/ak_log_build.sh') diff --git a/c_implementation/build_tree/ak_log_build.sh b/c_implementation/build_tree/ak_log_build.sh index 713b915..76a4113 100755 --- a/c_implementation/build_tree/ak_log_build.sh +++ b/c_implementation/build_tree/ak_log_build.sh @@ -1,13 +1,13 @@ #!/usr/bin/env bash echo "Building lib/aklog.so" && \ -gcc -c -shared -Wextra -Wall -Werror -pedantic -ggdb -fPIC -I./include aklog.c -o lib/aklog.so && \ +gcc -c -shared -Wextra -Wall -Werror -pedantic -ggdb -fPIC -I./include src/aklog.c -o lib/libaklog.so && \ echo "Building tests/test_aklog" && \ -gcc -Wextra -Wall -Werror -pedantic -ggdb -Wl,-rpath=lib -I./include tests/test_aklog.c lib/aklog.so -o tests/test_aklog && \ +gcc -Wextra -Wall -Werror -pedantic -ggdb -Wl,-rpath=lib -I./include tests/test_aklog.c lib/libaklog.so -o tests/test_aklog && \ echo "Running test_aklog" && \ time ./tests/test_aklog # && \ # rm ./tests/test_aklog -gcc -Wextra -Wall -Werror -pedantic -ggdb -Wl,-rpath=lib -I./include tests/test_aklogwrite.c lib/aklog.so -o tests/test_aklogwrite && \ +gcc -Wextra -Wall -Werror -pedantic -ggdb -Wl,-rpath=lib -I./include tests/test_aklogwrite.c lib/libaklog.so -o tests/test_aklogwrite && \ echo "Running test_aklogwrite" && \ time ./tests/test_aklogwrite && \ rm ./tests/test_aklogwrite -- cgit v1.2.3