4 # Created by D.Chubraev, chubraev@iem.ee.ethz.ch
10 !include $(WXDIR)\src\makewat.env
17 # Required for multi-threaded MFC apps
18 EXTRACPPFLAGS = -bm -oaxt-zp4-ei-xs-zo-w3-bm-bt=nt -d_WINDOWS -d_MBCS
26 $(name).exe : $(OBJS) $(name).res $(LNK) $(WXLIB)\wx$(LEVEL).lib
28 $(BINDCOMMAND) -d_MBCS $(name).res
30 $(name).res : $(name).rc $(WXDIR)\include\msw\wx.rc
31 $(RC) $(RESFLAGS1) $(name).rc
35 @%append $(LNK) debug all
36 @%append $(LNK) system $(LINKOPTION)
37 @%append $(LNK) $(MINDATA)
38 @%append $(LNK) $(MAXDATA)
39 @%append $(LNK) $(STACK)
40 @%append $(LNK) name $(name)
41 @%append $(LNK) file $(WXLIB)\wx$(LEVEL).lib
42 @for %i in ($(EXTRALIBS)) do @%append $(LNK) file %i
43 @for %i in ($(OBJS)) do @%append $(LNK) file %i
46 -erase *.obj *.bak *.err *.pch *.lib *.lnk *.res *.exe *.rex