From 7f07d1d6bfa8629106c93c1d9641d2713460ac84 Mon Sep 17 00:00:00 2001 From: Matt McCutchen Date: Wed, 16 Jul 2008 16:57:05 -0400 Subject: [PATCH] Clean the testsuite properly. --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index aa81d4a..3018e98 100644 --- a/Makefile +++ b/Makefile @@ -39,6 +39,9 @@ testsuite.expected: testsuite.cc .PHONY: test test: testsuite testsuite.expected ./run-testsuite +testsuite-cleanfiles = \ + testsuite.o testsuite testsuite.expected \ + testsuite.out testsuite.err # The rules below build a program that uses the library. They are preset to # build ``sample'' from ``sample.cc''. You can change the name(s) of the @@ -59,7 +62,7 @@ $(program) : $(program-objects) $(library-objects) # Delete all generated files we know about. clean : - rm -f $(library-objects) $(program-objects) $(program) + rm -f $(library-objects) $(testsuite-cleanfiles) $(program-objects) $(program) # I removed the *.tag dependency tracking system because it had few advantages # over manually entering all the dependencies. If there were a portable, -- 2.34.1