changes to watcom makefiles for OpenWatcom

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Chris Elliott
2003-04-05 10:14:07 +00:00
parent 6344162a81
commit ddea7eb614
104 changed files with 1219 additions and 25148 deletions

View File

@@ -3,14 +3,13 @@
# 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
WXDIR = ..\..
EXTRACPPFLAGS=-DPOSIX_MISTAKE
OUTPUTDIR=watcom\
!include $(WXDIR)\src\makewat.env
WXLIB = $(WXDIR)\lib
@@ -18,17 +17,17 @@ WXLIB = $(WXDIR)\lib
LIBTARGET = $(WXLIB)\regex$(WATCOM_SUFFIX).lib
OBJECTS = &
$(OUTPUTDIR)regcomp.obj &
$(OUTPUTDIR)regexec.obj &
$(OUTPUTDIR)regerror.obj &
$(OUTPUTDIR)regfree.obj
$(OUTPUTDIR)\regcomp.obj &
$(OUTPUTDIR)\regexec.obj &
$(OUTPUTDIR)\regerror.obj &
$(OUTPUTDIR)\regfree.obj
all: $(OUTPUTDIR) $(LIBTARGET) .SYMBOLIC
$(OUTPUTDIR):
@if not exist $^@ mkdir $^@
LBCFILE=$(OUTPUTDIR)regex.lbc
LBCFILE=$(OUTPUTDIR)\regex.lbc
$(LIBTARGET) : $(OBJECTS)
%create $(LBCFILE)
@for %i in ( $(OBJECTS) ) do @%append $(LBCFILE) +%i