aboutsummaryrefslogtreecommitdiff
path: root/src/build_tree
diff options
context:
space:
mode:
Diffstat (limited to 'src/build_tree')
-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