Makefile
changeset 116 ae784a3a45b1
parent 108 d6a52e0152fb
child 117 5f3a34ba6489
--- 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