]>
Commit | Line | Data |
---|---|---|
d51f2e65 | 1 | !include $(WXDIR)\src\makewat.env |
dbda9e86 | 2 | |
efa7066d | 3 | all: $(OUTPUTDIR) $(LIBTARGET) |
dbda9e86 | 4 | |
efa7066d VZ |
5 | $(OUTPUTDIR): |
6 | @if not exist $^@ mkdir $^@ | |
dbda9e86 | 7 | |
efa7066d VZ |
8 | # the name of the file containing the objects to be put in the library |
9 | LBCFILE=$(OUTPUTDIR)$(LIBTARGET).lbc | |
dbda9e86 | 10 | $(LIBTARGET) : $(OBJECTS) |
efa7066d VZ |
11 | %create $(LBCFILE) |
12 | @for %i in ( $(OBJECTS) ) do @%append $(LBCFILE) +%i | |
13 | $(LIB) /b /c /n /p=512 $^@ @$(LBCFILE) | |
dbda9e86 JS |
14 | |
15 | clean: .SYMBOLIC | |
efa7066d VZ |
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 | |
dbda9e86 JS |
25 | -erase $(LIBTARGET) |
26 |