This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] libiberty/testsuite/Makefile.in : Fix make clean rule under cygwin


Hi all,

The attatched patch fixes libiberty/testsuite/Makefile.in so that make clean
works under cygwin.

Please test/commit if it's OK

Thanks,

Phil Lello

-----------------------------------------------------------------------

Index: libiberty/testsuite/Makefile.in
===================================================================
--- libiberty/testsuite/Makefile.in	(revision 117922)
+++ libiberty/testsuite/Makefile.in	(working copy)
@@ -40,6 +40,8 @@
 
 INCDIR=$(srcdir)/../$(MULTISRCTOP)../include
 
+EXEEXT = @EXEEXT@
+
 all:
 
 # CHECK is set to "really_check" or the empty string by configure.
@@ -77,9 +79,10 @@
 
 # The standard clean rules.
 mostlyclean:
-	rm -f test-demangle
-	rm -f test-pexecute
-	rm -f test-expandargv
+	rm -f test-demangle$(EXEEXT)
+	rm -f test-pexecute$(EXEEXT)
+	rm -f test-expandargv$(EXEEXT)
+	rm -f grabsymb$(EXEEXT)
 clean: mostlyclean
 distclean: clean
 	rm -f Makefile

Attachment: patch.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]