Fix clean rules to be more precise, avoiding warnings from "del"

when running them after a full build.
This commit is contained in:
Frank Warmerdam 2008-01-01 15:53:10 +00:00
parent c080e30701
commit 2e8e250054
4 changed files with 8 additions and 11 deletions

View File

@ -1,5 +1,8 @@
2008-01-01 Frank Warmerdam <warmerdam@pobox.com> 2008-01-01 Frank Warmerdam <warmerdam@pobox.com>
* Makefile.vc, libtiff/Makefile.vc, tools/Makefile.vc: Improve clean
targets.
* tools/tiffinfo.c, tools/tiffcmp.c, tools/gif2tiff.c, tools/bmp2tiff.c * tools/tiffinfo.c, tools/tiffcmp.c, tools/gif2tiff.c, tools/bmp2tiff.c
tools/tiff2pdf.c: Fix 64-bit warnings when compiling under MSVC 2005 tools/tiff2pdf.c: Fix 64-bit warnings when compiling under MSVC 2005
(x64). (x64).

View File

@ -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 <dron@ak4719.spb.edu> # Copyright (C) 2004, Andrey Kiselev <dron@ak4719.spb.edu>
# #
@ -47,7 +47,6 @@ tools: lib
cd .. cd ..
clean: clean:
-del *.exe.manifest
cd port cd port
$(MAKE) /f Makefile.vc clean $(MAKE) /f Makefile.vc clean
cd.. cd..
@ -57,9 +56,3 @@ clean:
cd tools cd tools
$(MAKE) /f Makefile.vc clean $(MAKE) /f Makefile.vc clean
cd .. cd ..
-del *.ilk
-del *.dll.manifest
-del *.exe.manifest
-del *.exp
-del *.pdb

View File

@ -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 <dron@ak4719.spb.edu> # Copyright (C) 2004, Andrey Kiselev <dron@ak4719.spb.edu>
# #
@ -97,5 +97,5 @@ clean:
-del *.obj -del *.obj
-del *.lib -del *.lib
-del *.dll -del *.dll
-del *.exe -del *.dll.manifest
-del *.pdb -del *.pdb

View File

@ -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 <dron@ak4719.spb.edu> # Copyright (C) 2004, Andrey Kiselev <dron@ak4719.spb.edu>
# #
@ -48,4 +48,5 @@ tiffgt.exe:
clean: clean:
-del *.exe -del *.exe
-del *.exe.manifest
-del *.obj -del *.obj