| 1 | # $Id: Makefile.vc,v 1.5 2006/03/23 14:54:00 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 | # Edit nmake.opt file if you want to ajust building options.\r |
| 26 | #\r |
| 27 | # To build:\r |
| 28 | # C:\libtiff> nmake /f makefile.vc \r |
| 29 | \r |
| 30 | !INCLUDE nmake.opt\r |
| 31 | \r |
| 32 | all: port lib tools\r |
| 33 | \r |
| 34 | port::\r |
| 35 | cd port\r |
| 36 | $(MAKE) /f Makefile.vc\r |
| 37 | cd..\r |
| 38 | \r |
| 39 | lib: port\r |
| 40 | cd libtiff\r |
| 41 | $(MAKE) /f Makefile.vc\r |
| 42 | cd..\r |
| 43 | \r |
| 44 | tools: lib\r |
| 45 | cd tools\r |
| 46 | $(MAKE) /f Makefile.vc\r |
| 47 | cd ..\r |
| 48 | \r |
| 49 | clean:\r |
| 50 | cd port\r |
| 51 | $(MAKE) /f Makefile.vc clean\r |
| 52 | cd..\r |
| 53 | cd libtiff\r |
| 54 | $(MAKE) /f Makefile.vc clean\r |
| 55 | cd..\r |
| 56 | cd tools\r |
| 57 | $(MAKE) /f Makefile.vc clean\r |
| 58 | cd ..\r |
| 59 | \r |