X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ec2182c646313598fa650813211f7e2874bff640..007bea23c3245bac82c24c0f783a7baa5ac672cc:/src/regex/makefile.wat diff --git a/src/regex/makefile.wat b/src/regex/makefile.wat index 8f2b74442d..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,22 +14,26 @@ 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: +clean: .SYMBOLIC -erase *.obj -erase $(LIBTARGET) -erase *.pch