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