Makefile
changeset 122 50ba3b0e271a
parent 119 305d2ca32936
child 128 efa226a4801e
--- a/Makefile
+++ b/Makefile
@@ -5,6 +5,9 @@
 LDFLAGS = -L/usr/lib
      RM = rm -f
    FIND = find
+   MAKE = make
+ INDENT = indent
+ ERASER = eraser
 
 ifeq ("$(PROFILER)", "linux")
    PROF = -fprofile-arcs -ftest-coverage -pg
@@ -351,9 +354,9 @@
 
 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
+	@$(MAKE) clean