|
Packit |
994f1a |
# $Id: Makefile.vc,v 1.13 2007/02/24 15:26:09 dron Exp $
|
|
Packit |
994f1a |
#
|
|
Packit |
994f1a |
# Copyright (C) 2004, Andrey Kiselev <dron@ak4719.spb.edu>
|
|
Packit |
994f1a |
#
|
|
Packit |
994f1a |
# Permission to use, copy, modify, distribute, and sell this software and
|
|
Packit |
994f1a |
# its documentation for any purpose is hereby granted without fee, provided
|
|
Packit |
994f1a |
# that (i) the above copyright notices and this permission notice appear in
|
|
Packit |
994f1a |
# all copies of the software and related documentation, and (ii) the names of
|
|
Packit |
994f1a |
# Sam Leffler and Silicon Graphics may not be used in any advertising or
|
|
Packit |
994f1a |
# publicity relating to the software without the specific, prior written
|
|
Packit |
994f1a |
# permission of Sam Leffler and Silicon Graphics.
|
|
Packit |
994f1a |
#
|
|
Packit |
994f1a |
# THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
|
|
Packit |
994f1a |
# EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
|
|
Packit |
994f1a |
# WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
|
|
Packit |
994f1a |
#
|
|
Packit |
994f1a |
# IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
|
|
Packit |
994f1a |
# ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
|
|
Packit |
994f1a |
# OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
|
|
Packit |
994f1a |
# WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
|
|
Packit |
994f1a |
# LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
|
|
Packit |
994f1a |
# OF THIS SOFTWARE.
|
|
Packit |
994f1a |
#
|
|
Packit |
994f1a |
# Makefile for MS Visual C and Watcom C compilers.
|
|
Packit |
994f1a |
#
|
|
Packit |
994f1a |
# To build:
|
|
Packit |
994f1a |
# C:\libtiff\tools> nmake /f makefile.vc
|
|
Packit |
994f1a |
|
|
Packit |
994f1a |
!INCLUDE ..\nmake.opt
|
|
Packit |
994f1a |
|
|
Packit |
994f1a |
TARGETS = bmp2tiff.exe tiffinfo.exe tiffdump.exe fax2tiff.exe \
|
|
Packit |
994f1a |
fax2ps.exe gif2tiff.exe pal2rgb.exe ppm2tiff.exe \
|
|
Packit |
994f1a |
rgb2ycbcr.exe thumbnail.exe ras2tiff.exe raw2tiff.exe \
|
|
Packit |
994f1a |
tiff2bw.exe tiff2rgba.exe tiff2pdf.exe tiff2ps.exe \
|
|
Packit |
994f1a |
tiffcmp.exe tiffcp.exe tiffcrop.exe tiffdither.exe \
|
|
Packit |
994f1a |
tiffmedian.exe tiffset.exe tiffsplit.exe
|
|
Packit |
994f1a |
|
|
Packit |
994f1a |
INCL = -I..\libtiff
|
|
Packit |
994f1a |
LIBS = $(LIBS) ..\port\libport.lib ..\libtiff\libtiff.lib
|
|
Packit |
994f1a |
|
|
Packit |
994f1a |
default: $(TARGETS)
|
|
Packit |
994f1a |
|
|
Packit |
994f1a |
.c.exe:
|
|
Packit |
994f1a |
$(CC) $(CFLAGS) $*.c $(EXTRA_OBJ) $(LIBS)
|
|
Packit |
994f1a |
|
|
Packit |
994f1a |
tiffgt.exe:
|
|
Packit |
994f1a |
$(CC) $(CFLAGS) tiffgt.c $(EXTRA_OBJ) $(LIBS)
|
|
Packit |
994f1a |
|
|
Packit |
994f1a |
clean:
|
|
Packit |
994f1a |
-del *.exe
|
|
Packit |
994f1a |
-del *.obj
|