]>
Commit | Line | Data |
---|---|---|
1 | # $Id: Makefile.vc,v 1.11 2006/03/23 14:54:02 dron Exp $\r | |
2 | #\r | |
3 | # Copyright (C) 2004, Andrey Kiselev <dron@ak4719.spb.edu>\r | |
4 | #\r | |
5 | # Permission to use, copy, modify, distribute, and sell this software and \r | |
6 | # its documentation for any purpose is hereby granted without fee, provided\r | |
7 | # that (i) the above copyright notices and this permission notice appear in\r | |
8 | # all copies of the software and related documentation, and (ii) the names of\r | |
9 | # Sam Leffler and Silicon Graphics may not be used in any advertising or\r | |
10 | # publicity relating to the software without the specific, prior written\r | |
11 | # permission of Sam Leffler and Silicon Graphics.\r | |
12 | # \r | |
13 | # THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, \r | |
14 | # EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY \r | |
15 | # WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. \r | |
16 | # \r | |
17 | # IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR\r | |
18 | # ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,\r | |
19 | # OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,\r | |
20 | # WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF \r | |
21 | # LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE \r | |
22 | # OF THIS SOFTWARE.\r | |
23 | #\r | |
24 | # Makefile for MS Visual C and Watcom C compilers.\r | |
25 | #\r | |
26 | # To build:\r | |
27 | # C:\libtiff\tools> nmake /f makefile.vc \r | |
28 | \r | |
29 | !INCLUDE ..\nmake.opt\r | |
30 | \r | |
31 | TARGETS = bmp2tiff.exe tiffcp.exe tiffinfo.exe tiffdump.exe \\r | |
32 | fax2tiff.exe fax2ps.exe gif2tiff.exe pal2rgb.exe ppm2tiff.exe \\r | |
33 | rgb2ycbcr.exe thumbnail.exe ras2tiff.exe raw2tiff.exe \\r | |
34 | tiff2bw.exe tiff2rgba.exe tiff2pdf.exe tiff2ps.exe \\r | |
35 | tiffcmp.exe tiffdither.exe tiffmedian.exe tiffsplit.exe \r | |
36 | \r | |
37 | INCL = -I..\libtiff\r | |
38 | LIBS = $(LIBS) ..\port\libport.lib ..\libtiff\libtiff.lib\r | |
39 | \r | |
40 | default: $(TARGETS)\r | |
41 | \r | |
42 | .c.exe:\r | |
43 | $(CC) $(CFLAGS) $*.c $(EXTRA_OBJ) $(LIBS)\r | |
44 | \r | |
45 | tiffgt.exe:\r | |
46 | $(CC) $(CFLAGS) tiffgt.c $(EXTRA_OBJ) $(LIBS)\r | |
47 | \r | |
48 | clean:\r | |
49 | -del *.exe\r | |
50 | -del *.obj\r |