v2.3.3: fixed default build tasks not deleting old out file

This commit is contained in:
2026-01-16 18:14:34 +05:00
parent 3198f8905e
commit 3ad7685b88
7 changed files with 11 additions and 3 deletions

View File

@@ -2,6 +2,8 @@
# delete old objects
clean_dir "$OBJDIR/objects"
rm -f "$SHARED_LIB_FILE"
[ ! -z "$SRC_C" ] && compile_c "$CMP_C" "$STD_C" "$WARN_C" "$C_ARGS" "$INCLUDE" "$SRC_C"
[ ! -z "$SRC_CPP" ] && compile_cpp "$CMP_CPP" "$STD_CPP" "$WARN_CPP" "$CPP_ARGS" "$INCLUDE" "$SRC_CPP"
link "$LINKER_ARGS" "$SHARED_LIB_FILE"