]> git.saurik.com Git - wxWidgets.git/blob - src/regex/makefile.wat
Compile fix when not using WXR resources.
[wxWidgets.git] / src / regex / makefile.wat
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
9 WXDIR = ..\..
10 EXTRACPPFLAGS=-DPOSIX_MISTAKE
11
12 !include $(WXDIR)\src\makewat.env
13
14 WXLIB = $(WXDIR)\lib
15
16 LIBTARGET = $(WXLIB)\regex.lib
17
18 OBJECTS= &
19 regcomp.obj &
20 regexec.obj &
21 regerror.obj &
22 regfree.obj
23
24 all: $(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
31 clean: .SYMBOLIC
32 -erase *.obj
33 -erase $(LIBTARGET)
34 -erase *.pch
35 -erase *.err
36 -erase *.lbc
37
38 cleanall: clean
39