From 30b43f08955158d4f2066f4b50fe8d1241b3177b Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Fri, 16 May 2025 15:43:09 +0200 Subject: Remove configure + make build system. This commit also updates the README, cleans up some stuff and fixes some oopsies. --- build | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) (limited to 'build') diff --git a/build b/build index a1247ad..0376656 100755 --- a/build +++ b/build @@ -171,8 +171,24 @@ build_config() { echo "Max threads: $THREADS" echo "Optimization options: $OFLAGS" echo "Debug flags: $DFLAGS" - echo "WASM compiler: $EMCC" - echo "nodejs executable: $NODE" + echo "" + + echo "Optional features:" + + printf '%s' "WASM compiler: " + if (validate_command "$EMCC" >/dev/null); then + echo "$EMCC" + else + echo "Not found, web target won't be available" + fi + + printf '%s' "nodejs executable: " + if (validate_command "$NODE" >/dev/null); then + echo "$NODE" + else + echo "Not found, unit tests won't be available for web target" + fi + echo "Python bindings: $PYTHON3" } @@ -229,7 +245,7 @@ build_python() { fi build_nissy run $CC $CFLAGS $WFLAGS $PYTHON3_INCLUDES $(odflags) -shared \ - -o nissy_pthon_module.so nissy.o python/nissy_module.c + -o nissy_python_module.so nissy.o python/nissy_module.c } build_cpp() { -- cgit v1.3