]> git.saurik.com Git - wxWidgets.git/blob - src/makelib.wat
new (for wxBase) or updated and (hopefully() improved Watcom makefiles
[wxWidgets.git] / src / makelib.wat
1 !include makewat.env
2
3 # the name of the file containing the objects to be put in the library
4 LNK = tmp.lbc
5
6 all: $(LIBTARGET)
7
8 $(LIBTARGET) : $(OBJECTS)
9 %create $(LNK)
10 @for %i in ( $(OBJECTS) ) do @%append $(LNK) +%i
11 wlib /b /c /n /p=512 $^@ @$(LNK)
12
13 clean: .SYMBOLIC
14 -erase *.obj
15 -erase *.bak
16 -erase *.err
17 -erase *.pch
18 -erase *.lib
19 -erase *.lbc
20 -erase *.res
21 -erase *.exe
22 -erase *.lbc
23 -erase $(LIBTARGET)
24