Avoid rebuilding the modules when cleaning
authoralibrary <alibrary@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 9 Jun 2005 17:36:47 +0000 (17:36 +0000)
committeralibrary <alibrary@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 9 Jun 2005 17:36:47 +0000 (17:36 +0000)
Makefile

index 43e7973..5eab5c2 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -11,7 +11,7 @@ else
 MUTE:=@
 endif
 
-CLEAN=$(findstring clean,$(patsubst %clean%,clean,$(MAKECMDGOALS)))
+CLEAN=$(findstring clean,$(MAKECMDGOALS))
 
 #-------------------------------------------------------------------------------
 # IRST coding rule check
@@ -136,9 +136,11 @@ BINLIBS      :=
 EXPORTFILES  :=
 
 #-------------------------------------------------------------------------------
-# Dependencies of module.mk files
+# Dependencies of module.mk files if not cleaning
 
+ifeq ($CLEAN),)
 include build/module.dep
+endif
 
 #-------------------------------------------------------------------------------
 # Check if module.mk is present for the library