diff --git a/etc/makefiles/sketch.mk b/etc/makefiles/sketch.mk index a64635e3..e1dacb5e 100644 --- a/etc/makefiles/sketch.mk +++ b/etc/makefiles/sketch.mk @@ -121,7 +121,7 @@ hex-with-bootloader: ${HEX_FILE_PATH} @echo And TEST THIS ON REAL HARDWARE BEFORE YOU GIVE IT TO ANYONE. clean: - rm -rf -- "${OUTPUT_PATH}/*" + rm -rf -- "${OUTPUT_PATH}"/* ifneq ($(LOCAL_CFLAGS),) diff --git a/tests/Makefile b/tests/Makefile index dea344c1..befa46b1 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -31,19 +31,19 @@ run-all: ${TESTS} done || exit 1 cmake-clean: - rm -rf "${top_dir}/testing/googletest/build/*" + rm -rf "${top_dir}"/testing/googletest/build/* clean: cmake-clean @for test in ${TESTS}; do \ ${MAKE} -s -f ${top_dir}/testing/makefiles/testcase.mk -C $${test} testcase=$${test} clean; \ done - - rm -rf "${build_dir}/*" + rm -rf "${build_dir}"/* googletest: ${top_dir}/testing/googletest/build/Makefile cd ${top_dir}/testing/googletest/build && $(MAKE) ${top_dir}/testing/googletest/build/Makefile: + $(info googletest Makefile is being remade) install -d ${top_dir}/testing/googletest/build && cd ${top_dir}/testing/googletest/build && cmake .. ${libcommon_a}: