aboutsummaryrefslogtreecommitdiff
path: root/c_implementation/build_tree/ak_settings_build.sh
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2025-04-02 21:04:37 +0300
committerkaotisk <kaotisk@arching-kaos.org>2025-04-02 21:04:37 +0300
commitfa304767b5746d4ee7f4bef1cfda0570d03066cc (patch)
treeb75901167d74bb2f2361eea9e2627166b3895b49 /c_implementation/build_tree/ak_settings_build.sh
parentb9f80a2b37edf9682f189b406542b3f7a93b24a3 (diff)
downloadarching-kaos-tools-fa304767b5746d4ee7f4bef1cfda0570d03066cc.tar.gz
arching-kaos-tools-fa304767b5746d4ee7f4bef1cfda0570d03066cc.tar.bz2
arching-kaos-tools-fa304767b5746d4ee7f4bef1cfda0570d03066cc.zip
[C] Necessary refactoring
Diffstat (limited to 'c_implementation/build_tree/ak_settings_build.sh')
-rwxr-xr-xc_implementation/build_tree/ak_settings_build.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/c_implementation/build_tree/ak_settings_build.sh b/c_implementation/build_tree/ak_settings_build.sh
index 09009a8..f5137f9 100755
--- a/c_implementation/build_tree/ak_settings_build.sh
+++ b/c_implementation/build_tree/ak_settings_build.sh
@@ -1,11 +1,11 @@
echo "Building lib/aksettings.so" && \
-gcc -c -shared -Wextra -Wall -Werror -pedantic -ggdb -fPIC -I./include aksettings.c -o lib/aksettings.so && \
+gcc -c -shared -Wextra -Wall -Werror -pedantic -ggdb -fPIC -I./include src/aksettings.c -o lib/libaksettings.so && \
echo "Building tests/test_aksettings" && \
-gcc -Wextra -Wall -Werror -pedantic -ggdb -Wl,-rpath=lib -I./include tests/test_aksettings.c lib/aklog.so lib/aksettings.so -o tests/test_aksettings && \
+gcc -Wextra -Wall -Werror -pedantic -ggdb -Wl,-rpath=lib -I./include tests/test_aksettings.c lib/libaklog.so lib/libaksettings.so -o tests/test_aksettings && \
echo "Running test_aksettings" && \
time ./tests/test_aksettings && \
rm ./tests/test_aksettings
-gcc -Wextra -Wall -Werror -pedantic -ggdb -Wl,-rpath=lib -I./include tests/test_aksettings_read.c lib/aklog.so lib/aksettings.so -o tests/test_aksettings_read && \
+gcc -Wextra -Wall -Werror -pedantic -ggdb -Wl,-rpath=lib -I./include tests/test_aksettings_read.c lib/libaklog.so lib/libaksettings.so -o tests/test_aksettings_read && \
echo "Running test_aksettings_read" && \
time ./tests/test_aksettings_read && \
rm ./tests/test_aksettings_read