about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2013-11-22T15·24+0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2013-11-22T15·24+0100
commiteaf903f993094af27958b9935635710ffbf42bf6 (patch)
tree1076d64c2b769b87c83007cdd1b4192241b90abf
parent1474ecfe426ef69bbb376df82fd0c48e7dedf606 (diff)
Clean more aggressively
-rw-r--r--Makefile.lib4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.lib b/Makefile.lib
index 1aec37c76f33..5d9910e35b78 100644
--- a/Makefile.lib
+++ b/Makefile.lib
@@ -30,7 +30,7 @@ define LIBS_template =
 
   include $$(wildcard $$(_d)/*.dep)
 
-  clean_list += $$(_lib) $$(_objs) $$(_d)*.dep
+  clean_list += $$(_d)*.a $$(_d)*.o $$(_d)*.dep
   libs_list += $$(_lib)
 endef
 
@@ -50,7 +50,7 @@ define PROGRAMS_template =
   # Propagate CXXFLAGS to the individual object files.
   $$(foreach obj, $$(_objs), $$(eval $$(obj)_CXXFLAGS=$$($(1)_CXXFLAGS)))
 
-  clean_list += $$(_prog) $$(_objs) $$(_d)*.dep
+  clean_list += $$(_prog) $$(_d)*.o $$(_d)*.dep
   programs_list += $$(_prog)
 endef