]> git.saurik.com Git - wxWidgets.git/blame - src/makeprog.wat
Typos fixed.
[wxWidgets.git] / src / makeprog.wat
CommitLineData
7be1f0d9
JS
1WXDIR = $(%WXWIN)
2
3!include $(WXDIR)\src\makewat.env
4
5WXLIB = $(WXDIR)\lib
6LNK = $(PROGRAM).lnk
7
dbda9e86 8all: $(PROGRAM).exe $(EXTRATARGETS)
7be1f0d9
JS
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
dbda9e86 23 @for %i in ($(LIBS)) do @%append $(LNK) file %i
8a2c6ef8 24 @for %i in ($(EXTRALIBS)) do @%append $(LNK) file %i
7be1f0d9 25 @for %i in ($(OBJECTS)) do @%append $(LNK) file %i
7be1f0d9
JS
26# @%append $(LNK) $(MINDATA)
27# @%append $(LNK) $(MAXDATA)
28
29clean: .SYMBOLIC
8a2c6ef8
JS
30 -erase *.obj
31 -erase *.bak
32 -erase *.err
33 -erase *.pch
34 -erase *.lib
ce3ed50d 35 -erase $(LNK)
8a2c6ef8
JS
36 -erase *.res
37 -erase *.exe
38 -erase *.lbc
7be1f0d9 39