Makefiles improvements as per bug
http://bugzilla.remotesensing.org/show_bug.cgi?id=1128
This commit is contained in:
parent
bc6736f91d
commit
fb8fe4b17f
@ -24,4 +24,5 @@ tif_ovrcache.obj: tif_ovrcache.c
|
||||
$(CC) -c $(CFLAGS) tif_ovrcache.c
|
||||
|
||||
clean:
|
||||
del *.obj addtiffo.exe
|
||||
-del *.obj
|
||||
-del addtiffo.exe
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $Id: Makefile.vc,v 1.13 2005-08-18 20:21:06 fwarmerdam Exp $
|
||||
# $Id: Makefile.vc,v 1.14 2006-03-21 16:41:07 dron Exp $
|
||||
#
|
||||
# Copyright (C) 2004, Andrey Kiselev <dron@remotesensing.org>
|
||||
#
|
||||
@ -78,20 +78,21 @@ OBJ = \
|
||||
|
||||
all: libtiff.lib $(DLLNAME)
|
||||
|
||||
tif_config.h:
|
||||
tif_config.h: tif_config.h.vc
|
||||
copy tif_config.h.vc tif_config.h
|
||||
|
||||
tiffconf.h:
|
||||
tiffconf.h: tiffconf.h.vc
|
||||
copy tiffconf.h.vc tiffconf.h
|
||||
|
||||
libtiff.lib: tif_config.h tiffconf.h $(OBJ)
|
||||
$(AR) /out:libtiff.lib $(OBJ) $(LIBS)
|
||||
|
||||
$(DLLNAME): tif_config.h $(OBJ)
|
||||
$(DLLNAME): tif_config.h tiffconf.h libtiff.def $(OBJ)
|
||||
$(LD) /debug /dll /def:libtiff.def /out:$(DLLNAME) \
|
||||
/implib:libtiff_i.lib $(OBJ) $(LIBS)
|
||||
|
||||
clean:
|
||||
-del *.obj *.lib *.dll *.exe
|
||||
|
||||
|
||||
-del *.obj
|
||||
-del *.lib
|
||||
-del *.dll
|
||||
-del *.exe
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $Id: Makefile.vc,v 1.2 2004-07-03 16:04:59 dron Exp $
|
||||
# $Id: Makefile.vc,v 1.3 2006-03-21 16:41:07 dron Exp $
|
||||
#
|
||||
# Copyright (C) 2004, Andrey Kiselev <dron@remotesensing.org>
|
||||
#
|
||||
@ -38,5 +38,6 @@ libport.lib: $(OBJ)
|
||||
$(AR) /out:libport.lib $(OBJ)
|
||||
|
||||
clean:
|
||||
-del *.obj *.lib
|
||||
-del *.obj
|
||||
-del *.lib
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $Id: Makefile.vc,v 1.9 2004-06-08 15:54:12 dron Exp $
|
||||
# $Id: Makefile.vc,v 1.10 2006-03-21 16:41:07 dron Exp $
|
||||
#
|
||||
# Copyright (C) 2004, Andrey Kiselev <dron@remotesensing.org>
|
||||
#
|
||||
@ -46,4 +46,5 @@ tiffgt.exe:
|
||||
$(CC) $(CFLAGS) tiffgt.c $(EXTRA_OBJ) $(LIBS)
|
||||
|
||||
clean:
|
||||
-del *.exe *.obj
|
||||
-del *.exe
|
||||
-del *.obj
|
||||
|
Loading…
Reference in New Issue
Block a user