]> git.saurik.com Git - wxWidgets.git/blob - src/mgl/makeprog.wat
some wxArtProv docs
[wxWidgets.git] / src / mgl / makeprog.wat
1 WXDIR = $(%WXWIN)
2
3 !include $(WXDIR)\src\mgl\makewat.env
4
5 WXLIB = $(WXDIR)\lib
6 LNK = $(PROGRAM).lnk
7
8 all: $(PROGRAM).exe $(EXTRATARGETS)
9
10 $(PROGRAM).exe : $(OBJECTS) $(LNK) $(WXLIB)\wx.lib
11 wlink @$(LNK)
12
13 $(LNK) : makefile.wat
14 %create $(LNK)
15 @%append $(LNK) debug all
16 @%append $(LNK) system $(LINKOPTION)
17 @%append $(LNK) $(STACK)
18 @%append $(LNK) name $(PROGRAM).exe
19 @for %i in ($(OBJECTS)) do @%append $(LNK) file %i
20 @for %i in ($(LIBS)) do @%append $(LNK) lib %i
21 @for %i in ($(EXTRALIBS)) do @%append $(LNK) lib %i
22 # @%append $(LNK) $(MINDATA)
23 # @%append $(LNK) $(MAXDATA)
24
25 clean: .SYMBOLIC
26 -erase *.obj
27 -erase *.bak
28 -erase *.err
29 -erase *.pch
30 -erase *.lib
31 -erase $(LNK)
32 -erase *.res
33 -erase *.exe
34 -erase *.lbc
35