]> git.saurik.com Git - wxWidgets.git/blame - src/regex/makefile.wat
Specify tree control in event table to avoid problems with stray tree events
[wxWidgets.git] / src / regex / makefile.wat
CommitLineData
c88597ef
VZ
1#!/binb/wmake.exe
2#
3# File: makefile.wat
4# Author: Julian Smart
5# Created: 1998
ddea7eb6 6# Changelist: 2003-02-25 - Juergen Ulbts - update from wxWindows 2.5.x/HEAD branch
c88597ef
VZ
7#
8# Makefile : Builds REGEX library for Watcom C++, WIN32
9
10WXDIR = ..\..
11EXTRACPPFLAGS=-DPOSIX_MISTAKE
12
13!include $(WXDIR)\src\makewat.env
14
15WXLIB = $(WXDIR)\lib
16
a0499e2f
VZ
17LIBTARGET = $(WXLIB)\regex$(WATCOM_SUFFIX).lib
18
19OBJECTS = &
ddea7eb6
CE
20 $(OUTPUTDIR)\regcomp.obj &
21 $(OUTPUTDIR)\regexec.obj &
22 $(OUTPUTDIR)\regerror.obj &
23 $(OUTPUTDIR)\regfree.obj
c88597ef 24
a0499e2f 25all: $(OUTPUTDIR) $(LIBTARGET) .SYMBOLIC
c88597ef 26
a0499e2f
VZ
27$(OUTPUTDIR):
28 @if not exist $^@ mkdir $^@
c88597ef 29
ddea7eb6 30LBCFILE=$(OUTPUTDIR)\regex.lbc
c88597ef 31$(LIBTARGET) : $(OBJECTS)
a0499e2f
VZ
32 %create $(LBCFILE)
33 @for %i in ( $(OBJECTS) ) do @%append $(LBCFILE) +%i
34 wlib /q /b /c /n /p=512 $^@ @$(LBCFILE)
c88597ef 35
0cbc52f3 36clean: .SYMBOLIC
c88597ef
VZ
37 -erase *.obj
38 -erase $(LIBTARGET)
39 -erase *.pch
40 -erase *.err
41 -erase *.lbc
42
43cleanall: clean
44