6 # Changelist: 2003-02-25 - Juergen Ulbts - update from wxWindows 2.5.x/HEAD branch
8 # Makefile : Builds REGEX library for Watcom C++, WIN32
11 EXTRACPPFLAGS=-DPOSIX_MISTAKE
13 !include $(WXDIR)\src\makewat.env
17 LIBTARGET = $(WXLIB)\regex$(WATCOM_SUFFIX).lib
20 $(OUTPUTDIR)\regcomp.obj &
21 $(OUTPUTDIR)\regexec.obj &
22 $(OUTPUTDIR)\regerror.obj &
23 $(OUTPUTDIR)\regfree.obj
25 all: $(OUTPUTDIR) $(LIBTARGET) .SYMBOLIC
28 @if not exist $^@ mkdir $^@
30 LBCFILE=$(OUTPUTDIR)\regex.lbc
31 $(LIBTARGET) : $(OBJECTS)
33 @for %i in ( $(OBJECTS) ) do @%append $(LBCFILE) +%i
34 wlib /q /b /c /n /p=512 $^@ @$(LBCFILE)