diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2025-04-02 20:54:37 +0300 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2025-04-02 20:54:37 +0300 |
commit | b9f80a2b37edf9682f189b406542b3f7a93b24a3 (patch) | |
tree | 2c96484ccb77af8a59ed6fb7fe4632b5bafb9858 /c_implementation/build_tree/ak_settings_build.sh | |
parent | 0ec3188626275fa2678882c9827ade8d045ffc7d (diff) | |
download | arching-kaos-tools-b9f80a2b37edf9682f189b406542b3f7a93b24a3.tar.gz arching-kaos-tools-b9f80a2b37edf9682f189b406542b3f7a93b24a3.tar.bz2 arching-kaos-tools-b9f80a2b37edf9682f189b406542b3f7a93b24a3.zip |
Moved directory and some experimental changes
Diffstat (limited to 'c_implementation/build_tree/ak_settings_build.sh')
-rwxr-xr-x | c_implementation/build_tree/ak_settings_build.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/c_implementation/build_tree/ak_settings_build.sh b/c_implementation/build_tree/ak_settings_build.sh new file mode 100755 index 0000000..09009a8 --- /dev/null +++ b/c_implementation/build_tree/ak_settings_build.sh @@ -0,0 +1,11 @@ +echo "Building lib/aksettings.so" && \ +gcc -c -shared -Wextra -Wall -Werror -pedantic -ggdb -fPIC -I./include aksettings.c -o lib/aksettings.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 && \ +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 && \ +echo "Running test_aksettings_read" && \ +time ./tests/test_aksettings_read && \ +rm ./tests/test_aksettings_read |