kusano 7d535a
# $Id: Makefile.vc,v 1.7 2008/01/01 15:53:10 fwarmerdam Exp $
kusano 7d535a
#
kusano 7d535a
# Copyright (C) 2004, Andrey Kiselev <dron@ak4719.spb.edu></dron@ak4719.spb.edu>
kusano 7d535a
#
kusano 7d535a
# Permission to use, copy, modify, distribute, and sell this software and 
kusano 7d535a
# its documentation for any purpose is hereby granted without fee, provided
kusano 7d535a
# that (i) the above copyright notices and this permission notice appear in
kusano 7d535a
# all copies of the software and related documentation, and (ii) the names of
kusano 7d535a
# Sam Leffler and Silicon Graphics may not be used in any advertising or
kusano 7d535a
# publicity relating to the software without the specific, prior written
kusano 7d535a
# permission of Sam Leffler and Silicon Graphics.
kusano 7d535a
# 
kusano 7d535a
# THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, 
kusano 7d535a
# EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY 
kusano 7d535a
# WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.  
kusano 7d535a
# 
kusano 7d535a
# IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
kusano 7d535a
# ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
kusano 7d535a
# OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
kusano 7d535a
# WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF 
kusano 7d535a
# LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE 
kusano 7d535a
# OF THIS SOFTWARE.
kusano 7d535a
#
kusano 7d535a
# Makefile for MS Visual C and Watcom C compilers.
kusano 7d535a
# Edit nmake.opt file if you want to ajust building options.
kusano 7d535a
#
kusano 7d535a
# To build:
kusano 7d535a
# C:\libtiff> nmake /f makefile.vc 
kusano 7d535a
kusano 7d535a
!INCLUDE nmake.opt
kusano 7d535a
kusano 7d535a
all:	port lib tools
kusano 7d535a
kusano 7d535a
port::
kusano 7d535a
	cd port
kusano 7d535a
	$(MAKE) /f Makefile.vc
kusano 7d535a
	cd..
kusano 7d535a
kusano 7d535a
lib:	port
kusano 7d535a
	cd libtiff
kusano 7d535a
	$(MAKE) /f Makefile.vc
kusano 7d535a
	cd..
kusano 7d535a
kusano 7d535a
tools:	lib
kusano 7d535a
	cd tools
kusano 7d535a
	$(MAKE) /f Makefile.vc
kusano 7d535a
	cd ..
kusano 7d535a
kusano 7d535a
clean:
kusano 7d535a
	cd port
kusano 7d535a
	$(MAKE) /f Makefile.vc clean
kusano 7d535a
	cd..
kusano 7d535a
	cd libtiff
kusano 7d535a
	$(MAKE) /f Makefile.vc clean
kusano 7d535a
	cd..
kusano 7d535a
	cd tools
kusano 7d535a
	$(MAKE) /f Makefile.vc clean
kusano 7d535a
	cd ..