From 8a56bf00717aea1484ff83d464a1d4faea69134f Mon Sep 17 00:00:00 2001 From: Joseph Morrow Date: Thu, 9 Oct 2014 11:22:10 -0400 Subject: [PATCH] Made additions to buildSCript and various makefiles to ensure a better "make clean" of all targets in the entire repo. Patch 2: Cleaned up error that caused loop when "clean" target was called by buildScipt.mk or makefile at root of repo. Change-Id: Ib3b93a0a3a8b26c226ffdbf4851fa7176392a9b4 --- buildScript.mk | 1 + examples/makefile | 2 ++ 2 files changed, 3 insertions(+) diff --git a/buildScript.mk b/buildScript.mk index 28fc6d8..0bf5d65 100644 --- a/buildScript.mk +++ b/buildScript.mk @@ -495,4 +495,5 @@ clean: $(MAKE) -C csdk/stack/samples/linux/SimpleClientServer "clean" $(MAKE) -C csdk/stack/samples/arduino/SimpleClientServer/ocserver "clean" $(MAKE) -C . "clean" + $(MAKE) -C examples/ "clean" $(MAKE) -C oc_logger/ "clean" diff --git a/examples/makefile b/examples/makefile index 8467790..d703be3 100644 --- a/examples/makefile +++ b/examples/makefile @@ -101,9 +101,11 @@ clean: rm -rf debug rm -rf release cd ../ && $(MAKE) clean_cpp_sdk + cd ocicuc && $(MAKE) clean cd ocicuc && $(MAKE) clean_apps clean_apps: rm -rf debug rm -rf release + cd ocicuc && $(MAKE) clean cd ocicuc && $(MAKE) clean_apps -- 2.7.4