]> git.saurik.com Git - wxWidgets.git/blame - src/regex/makefile.wat
Fixed clean target to really clean all the cruft that gets created
[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
12!include $(WXDIR)\src\makewat.env
13
14WXLIB = $(WXDIR)\lib
15
16LIBTARGET = $(WXLIB)\regex.lib
17
18OBJECTS= &
ec2182c6
VZ
19 regcomp.obj &
20 regexec.obj &
21 regerror.obj &
22 regfree.obj
c88597ef
VZ
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