This patch adds some more tidying-up to Makefile.in and t/Makefile.
The split between clean and realclean is absolutely arbitrary; season to
taste.
diff -r -u parrot/Makefile.in parrot-andy/Makefile.in
--- parrot/Makefile.in Wed Sep 19 12:48:28 2001
+++ parrot-andy/Makefile.in Thu Sep 20 12:49:38 2001
@@ -69,8 +69,14 @@
$(PERL) Configure.pl
clean:
- rm -f *$(O) *.s basic_opcodes.c $(INC)/interp_guts.h $(INC)/op.h $(TEST_PROG)
+ rm -f *$(O) *.s basic_opcodes.c $(INC)/interp_guts.h $(INC)/op.h
+ rm -f $(TEST_PROG) pdump
+
+realclean: clean
+ rm -f *.pbc core
+ rm -f Parrot/Config.pm $(INC)/config.h
+ cd t; make realclean
+ rm -f Makefile
test:
$(PERL) t/harness
-
diff -r -u parrot/t/Makefile parrot-andy/t/Makefile
--- parrot/t/Makefile Mon Sep 17 20:32:55 2001
+++ parrot-andy/t/Makefile Thu Sep 20 12:47:35 2001
@@ -3,8 +3,13 @@
.SUFFIXES: .pbc .pasm
+RM_F = rm -f
+
clean:
- rm *.pbc
+ $(RM_F) op/*.out op/*.pasm op/*.pbc
+
+realclean: clean
+ $(RM_F) *.pbc core
.pasm.pbc:
perl -I.. ../assemble.pl $< > $@
--
Andy Dougherty [EMAIL PROTECTED]
Dept. of Physics
Lafayette College, Easton PA 18042