From 2e8e2500547110b54041762ae3136b02049b535d Mon Sep 17 00:00:00 2001 From: Frank Warmerdam Date: Tue, 1 Jan 2008 15:53:10 +0000 Subject: [PATCH] Fix clean rules to be more precise, avoiding warnings from "del" when running them after a full build. --- ChangeLog | 3 +++ Makefile.vc | 9 +-------- libtiff/Makefile.vc | 4 ++-- tools/Makefile.vc | 3 ++- 4 files changed, 8 insertions(+), 11 deletions(-) diff --git a/ChangeLog b/ChangeLog index fcfd57b9..a1deb43e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2008-01-01 Frank Warmerdam + * Makefile.vc, libtiff/Makefile.vc, tools/Makefile.vc: Improve clean + targets. + * tools/tiffinfo.c, tools/tiffcmp.c, tools/gif2tiff.c, tools/bmp2tiff.c tools/tiff2pdf.c: Fix 64-bit warnings when compiling under MSVC 2005 (x64). diff --git a/Makefile.vc b/Makefile.vc index dceec851..0a5fcaa1 100644 --- a/Makefile.vc +++ b/Makefile.vc @@ -1,4 +1,4 @@ -# $Id: Makefile.vc,v 1.6 2006-10-13 10:30:21 dron Exp $ +# $Id: Makefile.vc,v 1.7 2008-01-01 15:53:10 fwarmerdam Exp $ # # Copyright (C) 2004, Andrey Kiselev # @@ -47,7 +47,6 @@ tools: lib cd .. clean: - -del *.exe.manifest cd port $(MAKE) /f Makefile.vc clean cd.. @@ -57,9 +56,3 @@ clean: cd tools $(MAKE) /f Makefile.vc clean cd .. - - -del *.ilk - -del *.dll.manifest - -del *.exe.manifest - -del *.exp - -del *.pdb diff --git a/libtiff/Makefile.vc b/libtiff/Makefile.vc index 41a261ff..7c19aac8 100644 --- a/libtiff/Makefile.vc +++ b/libtiff/Makefile.vc @@ -1,4 +1,4 @@ -# $Id: Makefile.vc,v 1.20 2007-07-18 14:18:08 dron Exp $ +# $Id: Makefile.vc,v 1.21 2008-01-01 15:53:10 fwarmerdam Exp $ # # Copyright (C) 2004, Andrey Kiselev # @@ -97,5 +97,5 @@ clean: -del *.obj -del *.lib -del *.dll - -del *.exe + -del *.dll.manifest -del *.pdb diff --git a/tools/Makefile.vc b/tools/Makefile.vc index 7aba8767..2c3c8eca 100644 --- a/tools/Makefile.vc +++ b/tools/Makefile.vc @@ -1,4 +1,4 @@ -# $Id: Makefile.vc,v 1.13 2007-02-24 15:26:09 dron Exp $ +# $Id: Makefile.vc,v 1.14 2008-01-01 15:53:10 fwarmerdam Exp $ # # Copyright (C) 2004, Andrey Kiselev # @@ -48,4 +48,5 @@ tiffgt.exe: clean: -del *.exe + -del *.exe.manifest -del *.obj