diff --git a/testing/makefiles/libcommon.mk b/testing/makefiles/libcommon.mk index 2dbb976d..2a74ff01 100644 --- a/testing/makefiles/libcommon.mk +++ b/testing/makefiles/libcommon.mk @@ -47,4 +47,4 @@ ${OBJ_DIR}/%.o: ${top_dir}/testing/%.cpp ${H_FILES} $< clean: - rm -rf "${build_dir}" + rm -rf -- "${build_dir}" diff --git a/testing/makefiles/testcase.mk b/testing/makefiles/testcase.mk index 288724a1..c5882ca9 100644 --- a/testing/makefiles/testcase.mk +++ b/testing/makefiles/testcase.mk @@ -105,7 +105,7 @@ ${OBJ_DIR}/%.o: ${SRC_DIR}/%.cpp $< clean: - rm -f "${SRC_DIR}/generated-testcase.cpp" - rm -rf "${build_dir}" + rm -f -- "${SRC_DIR}/generated-testcase.cpp" + rm -rf -- "${build_dir}" .PHONY: clean run all build