title: make deleting dependency files
body: <p>I'm not sure if it's gmake or gcc that I don't understand here.</p>
  
  <p>I'm using the -MM and -MD options to generate dependency rules for the Unit Testing framework I'm using.  Specifically:</p>
  
  <pre><code>$(TEST_OBJ_DIR)/%.d: $(TEST_SRC_DIR)/%.cpp
    @$(CPPC) -MM -MD $&lt; -o $@
    @sed -i -e 's|\(.*\)\.o:|$(OBJ_DIR)/\1.o $(TEST_OBJ_DIR)/\1.d $(TEST_OBJ_DIR)/\1.o:|' $@
  
  -include $(TEST_DEP_FILES)
  </code></pre>
  
  <p>When I run <code>make</code>, after all binaries are linked (properly), I see the following extra (unexplained) line before make exits</p>
  
  <pre><code>rm test/obj/dice.d test/obj/regex.o test/obj/inventoryContainer.d test/obj/color-string.d test/obj/dice.o test/obj/inventoryContainer.o test/obj/color-string.o test/obj/regex.d
  </code></pre>
  
  <p>From whence is that <code>rm</code> command coming?  The only place - anywhere - that I have an <code>rm</code> command in my makefile is in the clean directive</p>
  
  <pre><code>test-clean:
    rm -f $(TEST_BIN_FILES)
    rm -f $(TEST_OBJ_DIR)/*.{a,d,o}
  </code></pre>
  
  <p>Any ideas?</p>