# HG changeset patch # User Markus Bröker # Date 1267823065 -3600 # Node ID ae784a3a45b16efaca13a40487cb7733215529de # Parent 47731bdd72c965738a8eed74ba4678858684d2ec The find utility needs a path parameter committer: Markus Bröker diff --git a/Makefile b/Makefile --- a/Makefile +++ b/Makefile @@ -338,20 +338,20 @@ clean: ifdef FIND - $(FIND) -name '*~' -exec $(RM) {} \; - $(FIND) -name '*.[oa]' -exec $(RM) {} \; - $(FIND) -name '*.gcov' -exec $(RM) {} \; - $(FIND) -name '*.gcda' -exec $(RM) {} \; - $(FIND) -name '*.gcno' -exec $(RM) {} \; - $(FIND) -name 'gmon.out' -exec $(RM) {} \; + $(FIND) . -name '*~' -exec $(RM) {} \; + $(FIND) . -name '*.[oa]' -exec $(RM) {} \; + $(FIND) . -name '*.gcov' -exec $(RM) {} \; + $(FIND) . -name '*.gcda' -exec $(RM) {} \; + $(FIND) . -name '*.gcno' -exec $(RM) {} \; + $(FIND) . -name 'gmon.out' -exec $(RM) {} \; endif $(RM) $(TARGET) beauty: ifdef FIND - $(FIND) -name '*.[ch]' -exec indent {} \; - $(FIND) -name '*.[ch]' -exec eraser {} \; - $(FIND) -name '*.java' -exec eraser {} \; - $(FIND) -name 'Makefile*' -exec eraser {} \; + $(FIND) . -name '*.[ch]' -exec indent {} \; + $(FIND) . -name '*.[ch]' -exec eraser {} \; + $(FIND) . -name '*.java' -exec eraser {} \; + $(FIND) . -name 'Makefile*' -exec eraser {} \; endif @make clean