]> git.saurik.com Git - wxWidgets.git/blame - src/regex/makefile.wat
fixed typo in library name
[wxWidgets.git] / src / regex / makefile.wat
CommitLineData
c88597ef
VZ
1#!/binb/wmake.exe
2#
3# File: makefile.wat
4# Author: Julian Smart
5# Created: 1998
6#
7# Makefile : Builds REGEX library for Watcom C++, WIN32
8
9WXDIR = ..\..
10EXTRACPPFLAGS=-DPOSIX_MISTAKE
11
a0499e2f
VZ
12OUTPUTDIR=watcom\
13
c88597ef
VZ
14!include $(WXDIR)\src\makewat.env
15
16WXLIB = $(WXDIR)\lib
17
a0499e2f
VZ
18LIBTARGET = $(WXLIB)\regex$(WATCOM_SUFFIX).lib
19
20OBJECTS = &
21 $(OUTPUTDIR)regcomp.obj &
22 $(OUTPUTDIR)regexec.obj &
23 $(OUTPUTDIR)regerror.obj &
24 $(OUTPUTDIR)regfree.obj
c88597ef 25
a0499e2f 26all: $(OUTPUTDIR) $(LIBTARGET) .SYMBOLIC
c88597ef 27
a0499e2f
VZ
28$(OUTPUTDIR):
29 @if not exist $^@ mkdir $^@
c88597ef 30
a0499e2f 31LBCFILE=$(OUTPUTDIR)regex.lbc
c88597ef 32$(LIBTARGET) : $(OBJECTS)
a0499e2f
VZ
33 %create $(LBCFILE)
34 @for %i in ( $(OBJECTS) ) do @%append $(LBCFILE) +%i
35 wlib /q /b /c /n /p=512 $^@ @$(LBCFILE)
c88597ef 36
0cbc52f3 37clean: .SYMBOLIC
c88597ef
VZ
38 -erase *.obj
39 -erase $(LIBTARGET)
40 -erase *.pch
41 -erase *.err
42 -erase *.lbc
43
44cleanall: clean
45