The find utility needs a path parameter
committer: Markus Bröker <mbroeker@largo.homelinux.org>
--- 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