]> git.saurik.com Git - wxWidgets.git/blob - src/makelib.wat
Copyright cleanup
[wxWidgets.git] / src / makelib.wat
1 !include $(WXDIR)\src\makewat.env
2
3 all: $(OUTPUTDIR) $(LIBTARGET)
4
5 $(OUTPUTDIR):
6 @if not exist $^@ mkdir $^@
7
8 # the name of the file containing the objects to be put in the library
9 LBCFILE=$(OUTPUTDIR)$(LIBTARGET).lbc
10 $(LIBTARGET) : $(OBJECTS)
11 %create $(LBCFILE)
12 @for %i in ( $(OBJECTS) ) do @%append $(LBCFILE) +%i
13 $(LIB) /b /c /n /p=512 $^@ @$(LBCFILE)
14
15 clean: .SYMBOLIC
16 -erase $(OUTPUTDIR)*.obj
17 -erase $(OUTPUTDIR)*.bak
18 -erase $(OUTPUTDIR)*.err
19 -erase $(OUTPUTDIR)*.pch
20 -erase $(OUTPUTDIR)*.lib
21 -erase $(OUTPUTDIR)*.lbc
22 -erase $(OUTPUTDIR)*.res
23 -erase $(OUTPUTDIR)*.exe
24 -erase $(OUTPUTDIR)*.lbc
25 -erase $(LIBTARGET)
26