]> git.saurik.com Git - wxWidgets.git/blame_incremental - src/regex/makefile.wat
fixed typo in library name
[wxWidgets.git] / src / regex / makefile.wat
... / ...
CommitLineData
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
12OUTPUTDIR=watcom\
13
14!include $(WXDIR)\src\makewat.env
15
16WXLIB = $(WXDIR)\lib
17
18LIBTARGET = $(WXLIB)\regex$(WATCOM_SUFFIX).lib
19
20OBJECTS = &
21 $(OUTPUTDIR)regcomp.obj &
22 $(OUTPUTDIR)regexec.obj &
23 $(OUTPUTDIR)regerror.obj &
24 $(OUTPUTDIR)regfree.obj
25
26all: $(OUTPUTDIR) $(LIBTARGET) .SYMBOLIC
27
28$(OUTPUTDIR):
29 @if not exist $^@ mkdir $^@
30
31LBCFILE=$(OUTPUTDIR)regex.lbc
32$(LIBTARGET) : $(OBJECTS)
33 %create $(LBCFILE)
34 @for %i in ( $(OBJECTS) ) do @%append $(LBCFILE) +%i
35 wlib /q /b /c /n /p=512 $^@ @$(LBCFILE)
36
37clean: .SYMBOLIC
38 -erase *.obj
39 -erase $(LIBTARGET)
40 -erase *.pch
41 -erase *.err
42 -erase *.lbc
43
44cleanall: clean
45