Made additions to buildSCript and various makefiles to ensure a better
authorJoseph Morrow <joseph.l.morrow@intel.com>
Thu, 9 Oct 2014 15:22:10 +0000 (11:22 -0400)
committerJoseph Morrow <joseph.l.morrow@intel.com>
Thu, 9 Oct 2014 15:22:48 +0000 (11:22 -0400)
"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
examples/makefile

index 28fc6d8..0bf5d65 100644 (file)
@@ -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"
index 8467790..d703be3 100644 (file)
@@ -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