Richard's patch to fix `make clean' under Unix.
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Tue, 15 Oct 2002 14:58:02 +0000 (14:58 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Tue, 15 Oct 2002 14:58:02 +0000 (14:58 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/putty@2063 cda61777-01e9-0310-a592-d414129be87e

mkfiles.pl

index 6851718..fbc2257 100755 (executable)
@@ -506,6 +506,6 @@ print
 "FORCE:\n".
 "\t\$(CC) \$(COMPAT) \$(FWHACK) \$(XFLAGS) \$(CFLAGS) \$(VER) -c version.c\n".
 "clean:\n".
-"\trm -f *.o *.exe\n".
+"\trm -f *.o". (join "", map { " $_" } &prognames("X")) . "\n".
 "\n";
 select STDOUT; close OUT;