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