diff --git a/libtiff/makefile.vc b/libtiff/makefile.vc index 1336290b..00ef34d0 100644 --- a/libtiff/makefile.vc +++ b/libtiff/makefile.vc @@ -12,15 +12,27 @@ WINMODE = -DTIF_PLATFORM_CONSOLE #WINMODE = -DTIF_PLATFORM_WINDOWED -CC = cl -INCL = -I. -LIBS = -CFLAGS = /nologo /W3 $(INCL) $(WINMODE) +# Uncomment and edit following lines to enable JPEG support +#JPEG_SUPPORT = 1 +#JPEGDIR = d:/projects/jpeg-6b + +CC = cl +INCL = -I. +LIBS = +EXTRAFLAGS = + +!IFDEF JPEG_SUPPORT +INCL = $(INCL) -I$(JPEGDIR) +EXTRAFLAGS = $(EXTRAFLAGS) -DJPEG_SUPPORT +!ENDIF + +CFLAGS = /nologo /W3 $(INCL) $(WINMODE) $(EXTRAFLAGS) OBJ = \ tif_aux.obj \ tif_close.obj \ tif_codec.obj \ + tif_color.obj \ tif_compress.obj \ tif_dir.obj \ tif_dirinfo.obj \