bgfx/3rdparty/openctm/tools/zlib/Makefile.msvc
2012-10-07 20:41:18 -07:00

39 lines
1.1 KiB
Text

# Makefile for zlib - for MS Visual Studio for Windows
# Copyright (C) 1995-2005 Jean-loup Gailly.
# For conditions of distribution and use, see copyright notice in zlib.h
CC = cl
CFLAGS = $(LOC) /nologo /c /O2 /Gs /W3 /I. /D_CRT_SECURE_NO_WARNINGS
AR=lib /nologo
RM=del /Q
OBJS = adler32.obj compress.obj crc32.obj gzio.obj uncompr.obj deflate.obj trees.obj \
zutil.obj inflate.obj infback.obj inftrees.obj inffast.obj
all: libz.lib
libz.lib: $(OBJS)
$(AR) /OUT:$@ $(OBJS)
clean:
$(RM) *.obj libz.lib
.c.obj:
$(CC) $(CFLAGS) /Fo$@ $<
adler32.obj: zlib.h zconf.h
compress.obj: zlib.h zconf.h
crc32.obj: crc32.h zlib.h zconf.h
deflate.obj: deflate.h zutil.h zlib.h zconf.h
example.obj: zlib.h zconf.h
gzio.obj: zutil.h zlib.h zconf.h
inffast.obj: zutil.h zlib.h zconf.h inftrees.h inflate.h inffast.h
inflate.obj: zutil.h zlib.h zconf.h inftrees.h inflate.h inffast.h
infback.obj: zutil.h zlib.h zconf.h inftrees.h inflate.h inffast.h
inftrees.obj: zutil.h zlib.h zconf.h inftrees.h
minigzip.obj: zlib.h zconf.h
trees.obj: deflate.h zutil.h zlib.h zconf.h trees.h
uncompr.obj: zlib.h zconf.h
zutil.obj: zutil.h zlib.h zconf.h