]> git.saurik.com Git - wxWidgets.git/blame_incremental - src/regex/makefile.wat
fixed backslashes parsing in the cmd line
[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
12!include $(WXDIR)\src\makewat.env
13
14WXLIB = $(WXDIR)\lib
15
16LIBTARGET = $(WXLIB)\regex.lib
17
18OBJECTS= &
19 regcomp.obj &
20 regexec.obj &
21 regerror.obj &
22 regfree.obj
23
24all: $(OBJECTS) $(LIBTARGET)
25
26$(LIBTARGET) : $(OBJECTS)
27 %create tmp.lbc
28 @for %i in ( $(OBJECTS) ) do @%append tmp.lbc +%i
29 wlib /b /c /n /p=512 $^@ @tmp.lbc
30
31clean:
32 -erase *.obj
33 -erase $(LIBTARGET)
34 -erase *.pch
35 -erase *.err
36 -erase *.lbc
37
38cleanall: clean
39