1 !include $(WXDIR)\src\makewat.env
3 all: $(OUTPUTDIR) $(LIBTARGET)
6 @if not exist $^@ mkdir $^@
8 # the name of the file containing the objects to be put in the library
9 LBCFILE=$(OUTPUTDIR)$(LIBTARGET).lbc
10 $(LIBTARGET) : $(OBJECTS)
12 @for %i in ( $(OBJECTS) ) do @%append $(LBCFILE) +%i
13 $(LIB) /b /c /n /p=512 $^@ @$(LBCFILE)
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