]> git.saurik.com Git - wxWidgets.git/blame - src/mgl/makeprog.wat
added condition for DARWIN (thanks to Steve Hartwell)
[wxWidgets.git] / src / mgl / makeprog.wat
CommitLineData
d2de0757
VS
1WXDIR = $(%WXWIN)
2
3!include $(WXDIR)\src\mgl\makewat.env
4
5WXLIB = $(WXDIR)\lib
6LNK = $(PROGRAM).lnk
7
8all: $(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
25clean: .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