modifed for correct make target

This commit is contained in:
Jake Goodwin 2025-03-08 17:08:05 -08:00
parent 90729c2ff7
commit d4a0d09dd6

View file

@ -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 () {