make clean-modules removes the temporary compilation files (Matthias)
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 8 Feb 2008 10:31:48 +0000 (10:31 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 8 Feb 2008 10:31:48 +0000 (10:31 +0000)
Makefile

index 3a62332..1cf4676 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -454,9 +454,10 @@ endif
 
 clean-modules:
 ifndef ALIQUIET
-       @echo "***** Cleaning up module.mk files *****"
+       @echo "***** Cleaning up module.mk and temporary compilation files *****"
 endif
        $(MUTE)rm -rf $(patsubst %,%/module.mk,$(MODULES))
+       $(MUTE)rm -rf $(patsubst %,%/tgt_$(ALICE_TARGET),$(MODULES))
 
 clean-depend:
 ifndef ALIQUIET