aboutsummaryrefslogtreecommitdiff
path: root/src/build_tree/ak_logcatter_build.sh
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2025-03-14 00:59:19 +0200
committerkaotisk <kaotisk@arching-kaos.org>2025-03-14 00:59:19 +0200
commit48e044e9b6968729cbd86e14ef49dbdb7c45110b (patch)
tree556555cfa3353ad1bab6b1943c7cb9d54cca577d /src/build_tree/ak_logcatter_build.sh
parent48891c1fb9e82870f6a94e4b9078d538146ba823 (diff)
downloadarching-kaos-tools-48e044e9b6968729cbd86e14ef49dbdb7c45110b.tar.gz
arching-kaos-tools-48e044e9b6968729cbd86e14ef49dbdb7c45110b.tar.bz2
arching-kaos-tools-48e044e9b6968729cbd86e14ef49dbdb7c45110b.zip
yeap! cat the logs!
Diffstat (limited to 'src/build_tree/ak_logcatter_build.sh')
-rwxr-xr-xsrc/build_tree/ak_logcatter_build.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/build_tree/ak_logcatter_build.sh b/src/build_tree/ak_logcatter_build.sh
new file mode 100755
index 0000000..91a1805
--- /dev/null
+++ b/src/build_tree/ak_logcatter_build.sh
@@ -0,0 +1,2 @@
+echo "Building lib/aklogcatter.so" && gcc -c -shared -Wextra -Wall -Werror -pedantic -ggdb -fPIC -I./include aklogcatter.c -o lib/aklogcatter.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 && echo "Running test_aklogcatter" && time ./tests/test_aklogcatter
+rm ./tests/test_aklogcatter