7 # Makefile : Builds REGEX library for Watcom C++, WIN32
10 EXTRACPPFLAGS=-DPOSIX_MISTAKE
14 !include $(WXDIR)\src\makewat.env
18 LIBTARGET = $(WXLIB)\regex$(WATCOM_SUFFIX).lib
21 $(OUTPUTDIR)regcomp.obj &
22 $(OUTPUTDIR)regexec.obj &
23 $(OUTPUTDIR)regerror.obj &
24 $(OUTPUTDIR)regfree.obj
26 all: $(OUTPUTDIR) $(LIBTARGET) .SYMBOLIC
29 @if not exist $^@ mkdir $^@
31 LBCFILE=$(OUTPUTDIR)regex.lbc
32 $(LIBTARGET) : $(OBJECTS)
34 @for %i in ( $(OBJECTS) ) do @%append $(LBCFILE) +%i
35 wlib /q /b /c /n /p=512 $^@ @$(LBCFILE)