diff --git a/contrib/addtiffo/Makefile.vc b/contrib/addtiffo/Makefile.vc index 32b489b3..7475f9fc 100755 --- a/contrib/addtiffo/Makefile.vc +++ b/contrib/addtiffo/Makefile.vc @@ -1,27 +1,27 @@ -# -# If libtiff.a is installed in /usr/lib or /usr/local/lib just point -# LIBTIFF_DIR there. It doesn't need a full libtiff tree. -# -LIBTIFF_DIR = ..\..\libtiff -# -CC = cl.exe -CPPC = cl.exe -CFLAGS = -O -I$(LIBTIFF_DIR) -LIBS = $(LIBTIFF_DIR)\tiff.lib - -addtiffo: addtiffo.obj tif_overview.obj rawblockedimage.obj - $(CC) $(CFLAGS) addtiffo.obj tif_overview.obj rawblockedimage.obj \ - $(LIBS) /Feaddtiffo.exe - - -addtiffo.obj: addtiffo.c - $(CC) -c $(CFLAGS) addtiffo.c - -tif_overview.obj: tif_overview.cpp - $(CPPC) -c $(CFLAGS) tif_overview.cpp - -rawblockedimage.obj: rawblockedimage.cpp - $(CPPC) -c $(CFLAGS) rawblockedimage.cpp - -clean: - del *.obj addtiffo.exe +# +# If libtiff.a is installed in /usr/lib or /usr/local/lib just point +# LIBTIFF_DIR there. It doesn't need a full libtiff tree. +# +LIBTIFF_DIR = ..\..\libtiff +# +CC = cl.exe +CPPC = cl.exe +CFLAGS = -O -I$(LIBTIFF_DIR) +LIBS = $(LIBTIFF_DIR)\tiff.lib + +addtiffo: addtiffo.obj tif_overview.obj tif_ovrcache.obj + $(CC) $(CFLAGS) addtiffo.obj tif_overview.obj tif_ovrcache.obj \ + $(LIBS) /Feaddtiffo.exe + + +addtiffo.obj: addtiffo.c + $(CC) -c $(CFLAGS) addtiffo.c + +tif_overview.obj: tif_overview.c + $(CPPC) -c $(CFLAGS) tif_overview.c + +tif_ovrcache.obj: tif_ovrcache.obj + $(CPPC) -c $(CFLAGS) tif_ovrcache.c + +clean: + del *.obj addtiffo.exe