]>
Commit | Line | Data |
---|---|---|
1 | # $Id: Makefile.vc,v 1.15 2009-01-22 20:53:07 fwarmerdam 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 tiffinfo.exe tiffdump.exe fax2tiff.exe \\r | |
32 | 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 tiffcp.exe tiffcrop.exe tiffdither.exe \\r | |
36 | tiffmedian.exe tiffset.exe tiffsplit.exe \r | |
37 | \r | |
38 | INCL = -I..\libtiff -I..\port -DNEED_LIBPORT\r | |
39 | LIBS = $(LIBS) ..\port\libport.lib ..\libtiff\libtiff.lib\r | |
40 | \r | |
41 | default: $(TARGETS)\r | |
42 | \r | |
43 | .c.exe:\r | |
44 | $(CC) $(CFLAGS) $*.c $(EXTRA_OBJ) $(LIBS)\r | |
45 | \r | |
46 | tiffgt.exe:\r | |
47 | $(CC) $(CFLAGS) tiffgt.c $(EXTRA_OBJ) $(LIBS)\r | |
48 | \r | |
49 | clean:\r | |
50 | -del *.exe\r | |
51 | -del *.exe.manifest\r | |
52 | -del *.obj\r |