aboutsummaryrefslogtreecommitdiff
path: root/src/build_tree/ak_settings_build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/build_tree/ak_settings_build.sh')
-rwxr-xr-xsrc/build_tree/ak_settings_build.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/build_tree/ak_settings_build.sh b/src/build_tree/ak_settings_build.sh
new file mode 100755
index 0000000..5edcd19
--- /dev/null
+++ b/src/build_tree/ak_settings_build.sh
@@ -0,0 +1,2 @@
+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/aksettings.so -o tests/test_aksettings && echo "Running test_aksettings" && time ./tests/test_aksettings
+rm ./tests/test_aksettings