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