]> git.saurik.com Git - wxWidgets.git/blame_incremental - src/zlib/makefile.wat
removed the extra offset in moveto in DrawRotatedText() (why was it there?)
[wxWidgets.git] / src / zlib / makefile.wat
... / ...
CommitLineData
1##############################################################################
2# Name: src/zlib/makefile.wat
3# Purpose: build zlib using Watcom 11.0+ compiler
4# Author: Vadim Zeitlin
5# Created: 21.01.03
6# RCS-ID: $Id$
7# Copyright: (c) 2003 Vadim Zeitlin
8# Licence: wxWindows licence
9##############################################################################
10
11WXDIR = ..\..
12OUTPUTDIR=watcom\
13
14!include $(WXDIR)\src\makewat.env
15
16LIBTARGET=$(WXDIR)\lib\zlib$(WATCOM_SUFFIX).lib
17
18# variables
19OBJECTS = &
20 $(OUTPUTDIR)adler32.obj &
21 $(OUTPUTDIR)compress.obj &
22 $(OUTPUTDIR)crc32.obj &
23 $(OUTPUTDIR)gzio.obj &
24 $(OUTPUTDIR)uncompr.obj &
25 $(OUTPUTDIR)deflate.obj &
26 $(OUTPUTDIR)trees.obj &
27 $(OUTPUTDIR)zutil.obj &
28 $(OUTPUTDIR)inflate.obj &
29 $(OUTPUTDIR)infblock.obj &
30 $(OUTPUTDIR)inftrees.obj &
31 $(OUTPUTDIR)infcodes.obj &
32 $(OUTPUTDIR)infutil.obj &
33 $(OUTPUTDIR)inffast.obj
34
35# all: test
36
37all: $(OUTPUTDIR) $(LIBTARGET) .SYMBOLIC
38
39$(OUTPUTDIR):
40 @if not exist $^@ mkdir $^@
41
42LBCFILE=$(OUTPUTDIR)zlib.lbc
43$(LIBTARGET) : $(OBJECTS)
44 %create $(LBCFILE)
45 @for %i in ( $(OBJECTS) ) do @%append $(LBCFILE) +%i
46 wlib /q /b /c /n /p=512 $^@ @$(LBCFILE)
47
48clean: .SYMBOLIC
49 -erase *.obj
50 -erase *.exe
51 -erase $(LIBTARGET)