]> git.saurik.com Git - wxWidgets.git/blame_incremental - src/zlib/makefile.wat
Use "&Help" so wxMac doesn't make an extra help menu
[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# Changelist: 2003-02-25 - Juergen Ulbts - update from wxWindows 2.5.x/HEAD branch
9# Licence: wxWindows licence
10##############################################################################
11
12WXDIR = ..\..
13OUTPUTDIR=watcom
14
15!include $(WXDIR)\src\makewat.env
16
17LIBTARGET=$(WXDIR)\lib\zlib$(WATCOM_SUFFIX).lib
18
19# variables
20OBJECTS = &
21 $(OUTPUTDIR)\adler32.obj &
22 $(OUTPUTDIR)\compress.obj &
23 $(OUTPUTDIR)\crc32.obj &
24 $(OUTPUTDIR)\gzio.obj &
25 $(OUTPUTDIR)\uncompr.obj &
26 $(OUTPUTDIR)\deflate.obj &
27 $(OUTPUTDIR)\trees.obj &
28 $(OUTPUTDIR)\zutil.obj &
29 $(OUTPUTDIR)\inflate.obj &
30 $(OUTPUTDIR)\infblock.obj &
31 $(OUTPUTDIR)\inftrees.obj &
32 $(OUTPUTDIR)\infcodes.obj &
33 $(OUTPUTDIR)\infutil.obj &
34 $(OUTPUTDIR)\inffast.obj
35
36# all: test
37
38all: $(OUTPUTDIR) $(LIBTARGET) .SYMBOLIC
39
40$(OUTPUTDIR):
41 @if not exist $^@ mkdir $^@
42
43LBCFILE=$(OUTPUTDIR)\zlib.lbc
44$(LIBTARGET) : $(OBJECTS)
45 %create $(LBCFILE)
46 @for %i in ( $(OBJECTS) ) do @%append $(LBCFILE) +%i
47 wlib /q /b /c /n /p=512 $^@ @$(LBCFILE)
48
49clean: .SYMBOLIC
50 -erase *.obj
51 -erase *.exe
52 -erase $(LIBTARGET)
53