Index: uspace/Makefile.common
===================================================================
--- uspace/Makefile.common	(revision 4761f54ee981ed05e6708beb4639428d34b524c8)
+++ uspace/Makefile.common	(revision cc920764c0b95a32b80fa6be5377d3d50cdf4126)
@@ -227,7 +227,8 @@
 
 clean:
-	rm -f $(DEPENDS) $(JOB) $(OUTPUT) $(LARCHIVE) $(LOUTPUT) $(EXTRA_OUTPUT) $(EXTRA_CLEAN)
+	rm -f $(JOB) $(OUTPUT) $(LARCHIVE) $(LOUTPUT) $(EXTRA_OUTPUT) $(EXTRA_CLEAN)
 	find . -name '*.o' -follow -exec rm \{\} \;
 	find . -name '*.lo' -follow -exec rm \{\} \;
+	find . -name '*.d' -follow -exec rm \{\} \;
 
 COMMON_CFLAGS = $(INCLUDES_FLAGS) -O$(OPTIMIZATION) -imacros $(CONFIG_HEADER) \
Index: uspace/lib/pcut/Makefile
===================================================================
--- uspace/lib/pcut/Makefile	(revision 4761f54ee981ed05e6708beb4639428d34b524c8)
+++ uspace/lib/pcut/Makefile	(revision cc920764c0b95a32b80fa6be5377d3d50cdf4126)
@@ -25,5 +25,5 @@
 	$(PCUT_TEST_PREFIX)xmlreport$(PCUT_TEST_SUFFIX) 
 
-EXTRA_CLEAN = $(SELF_TESTS) tests/*.d
+EXTRA_CLEAN = $(SELF_TESTS)
 
 include helenos.mak
