From d4a0d09dd651f4a27275623b76e9d88e2685efde Mon Sep 17 00:00:00 2001 From: jake Date: Sat, 8 Mar 2025 17:08:05 -0800 Subject: [PATCH] modifed for correct make target --- otto.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/otto.sh b/otto.sh index f3c15f9..676a535 100755 --- a/otto.sh +++ b/otto.sh @@ -28,9 +28,9 @@ format_source_code () { add_compile_commands () { if [ -f ./compile_commands.json ]; then - echo "compile_commands.json already exists!\n" + echo "compile_commands.json already exists!" else - echo "Creating new symlink for compile commands!\n" + echo "Creating new symlink for compile commands!" ln -s ./build/compile_commands.json ./compile_commands.json fi } @@ -247,8 +247,8 @@ build_hex () { CMAKE_ARGS="${CMAKE_ARGS} -DCMAKE_TOOLCHAIN_FILE=${WCH_TC}" cmake ${CMAKE_ARGS} ../ - make all - make hex + make main + #make hex } build_hex_optimized () {