X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0cbc52f38e7d0bed3b8b4d9dabca045c09d68d43..d1558f3d532c2e1c15e385d17c6200069f72714b:/src/regex/makefile.wat diff --git a/src/regex/makefile.wat b/src/regex/makefile.wat index b73464c60c..ba3b063441 100644 --- a/src/regex/makefile.wat +++ b/src/regex/makefile.wat @@ -3,6 +3,7 @@ # File: makefile.wat # Author: Julian Smart # Created: 1998 +# Changelist: 2003-02-25 - Juergen Ulbts - update from wxWindows 2.5.x/HEAD branch # # Makefile : Builds REGEX library for Watcom C++, WIN32 @@ -13,20 +14,24 @@ EXTRACPPFLAGS=-DPOSIX_MISTAKE WXLIB = $(WXDIR)\lib -LIBTARGET = $(WXLIB)\regex.lib +LIBTARGET = $(WXLIB)\regex$(WATCOM_SUFFIX).lib -OBJECTS= & - regcomp.obj & - regexec.obj & - regerror.obj & - regfree.obj +OBJECTS = & + $(OUTPUTDIR)\regcomp.obj & + $(OUTPUTDIR)\regexec.obj & + $(OUTPUTDIR)\regerror.obj & + $(OUTPUTDIR)\regfree.obj -all: $(OBJECTS) $(LIBTARGET) +all: $(OUTPUTDIR) $(LIBTARGET) .SYMBOLIC +$(OUTPUTDIR): + @if not exist $^@ mkdir $^@ + +LBCFILE=$(OUTPUTDIR)\regex.lbc $(LIBTARGET) : $(OBJECTS) - %create tmp.lbc - @for %i in ( $(OBJECTS) ) do @%append tmp.lbc +%i - wlib /b /c /n /p=512 $^@ @tmp.lbc + %create $(LBCFILE) + @for %i in ( $(OBJECTS) ) do @%append $(LBCFILE) +%i + wlib /q /b /c /n /p=512 $^@ @$(LBCFILE) clean: .SYMBOLIC -erase *.obj