aboutsummaryrefslogtreecommitdiff
path: root/tools/tool.sh
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2024-10-02 18:37:36 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2024-10-03 10:25:03 +0200
commitb8d17736ce2c85174a47c7200ef6d19a51d0c347 (patch)
treee62a8eb0c2ccf05be9b0b0791915e9aa1fca46e8 /tools/tool.sh
parent8d3fe446815a1631876e4170747bc6cb03a6bbf8 (diff)
downloadnissy-core-b8d17736ce2c85174a47c7200ef6d19a51d0c347.tar.gz
nissy-core-b8d17736ce2c85174a47c7200ef6d19a51d0c347.zip
Do not run make clean automatically on every build and other Makefile changes
Diffstat (limited to '')
-rwxr-xr-xtools/tool.sh (renamed from tools/run_tool.sh)5
1 files changed, 1 insertions, 4 deletions
diff --git a/tools/run_tool.sh b/tools/tool.sh
index 2216a66..64bfd89 100755
--- a/tools/run_tool.sh
+++ b/tools/tool.sh
@@ -15,11 +15,8 @@ for t in tools/*; do
15 continue 15 continue
16 fi 16 fi
17 toolname="$(basename "$t" .c)" 17 toolname="$(basename "$t" .c)"
18 $CC -o $BIN "$t"/*.c "$CUBEOBJ" || exit 1; 18 $CC -o $BIN "$t"/*.c "$OBJ" || exit 1;
19 $BIN $TOOLARGS \ 19 $BIN $TOOLARGS \
20 | tee "tools/results/$toolname-$d.txt" "tools/results/last.out" 20 | tee "tools/results/$toolname-$d.txt" "tools/results/last.out"
21 break 21 break
22done 22done
23
24# $BIN is kept so it can be run manually for profiling
25rm -rf "$CUBEOBJ"

Generated with cgit - Back to sebastiano.tronto.net