makefile.vcwin32 revision 671242f350d172e106580348e24bab66b0d7e6a5
3a38d5b7ad9ebee258ce6cb2ebe712f058ea27c5Jenny Han Donnelly# makefile for libpng
3a38d5b7ad9ebee258ce6cb2ebe712f058ea27c5Jenny Han Donnelly# Copyright (C) 1998 Tim Wegner
3a38d5b7ad9ebee258ce6cb2ebe712f058ea27c5Jenny Han Donnelly# For conditions of distribution and use, see copyright notice in png.h
3a38d5b7ad9ebee258ce6cb2ebe712f058ea27c5Jenny Han Donnelly# Assumes that zlib.lib, zconf.h, and zlib.h have been copied to ..\zlib
3a38d5b7ad9ebee258ce6cb2ebe712f058ea27c5Jenny Han Donnelly# To use, do "nmake /f scripts\makefile.vcwin32"
3a38d5b7ad9ebee258ce6cb2ebe712f058ea27c5Jenny Han Donnelly# -------- Microsoft Visual C++ 2.0 and later, no assembler code --------
3a38d5b7ad9ebee258ce6cb2ebe712f058ea27c5Jenny Han Donnelly# If you want to use assembler (MMX) code, use makefile.vcawin32 instead.
3a38d5b7ad9ebee258ce6cb2ebe712f058ea27c5Jenny Han Donnelly# Compiler, linker, librarian, and other tools
3a38d5b7ad9ebee258ce6cb2ebe712f058ea27c5Jenny Han DonnellyCFLAGS = -nologo -MD -O2 -W3 -I..\zlib
3a38d5b7ad9ebee258ce6cb2ebe712f058ea27c5Jenny Han DonnellyLDFLAGS = -nologo
3a38d5b7ad9ebee258ce6cb2ebe712f058ea27c5Jenny Han DonnellyARFLAGS = -nologo
3a38d5b7ad9ebee258ce6cb2ebe712f058ea27c5Jenny Han Donnelly# File extensions
#ERRFILE= >> pngerrs.log
all: libpng.lib
libpng.lib: $(OBJS)
test: pngtest.exe
-$(RM) libpng.lib
-$(RM) pngtest.exe
-$(RM) pngout.png