From 633933960a124d0baf373cc02931614dbbc970d1 Mon Sep 17 00:00:00 2001 From: Ryan Myers Date: Thu, 21 Oct 2021 10:38:00 -0400 Subject: [PATCH] Fixed Makefiles clean_lib and clean_src options --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index cb479815..cd4d228c 100755 --- a/Makefile +++ b/Makefile @@ -309,14 +309,14 @@ else endif clean_lib: -ifneq ($(wildcard $(BUILD_DIR)/lib/.*),) - rm -r $(BUILD_DIR)/lib/src/*.o +ifneq ($(wildcard $(BUILD_DIR)/lib/.*),) + rm -r $(BUILD_DIR)/lib/src/*/*.o else @echo "build lib directory has already been deleted." endif clean_src: clean_lib -ifneq ($(wildcard ./build/src/.*),) +ifneq ($(wildcard $(BUILD_DIR)/src/.*),) rm -r $(BUILD_DIR)/src/*.o else @echo "/build/lib directory has already been deleted."