]> git.saurik.com Git - wxWidgets.git/blame - samples/mfc/makefile.wat
added missing methods/removed duplicated base methods
[wxWidgets.git] / samples / mfc / makefile.wat
CommitLineData
bbf1f0e5
KB
1#
2# Makefile for WATCOM
3#
8a2c6ef8
JS
4# Created by Julian Smart, January 1999
5#
bbf1f0e5
KB
6#
7
8WXDIR = ..\..
9
10!include $(WXDIR)\src\makewat.env
11
12WXLIB = $(WXDIR)\lib
13NAME = hello
14LNK = $(name).lnk
15OBJS = $(name).obj
16
17# Required for multi-threaded MFC apps
18EXTRACPPFLAGS = -bm -oaxt-zp4-ei-xs-zo-w3-bm-bt=nt -d_WINDOWS -d_MBCS
19refmain = _wstart2_
20
21
22PRECOMP=
23
24all: $(name).exe
25
26$(name).exe : $(OBJS) $(name).res $(LNK) $(WXLIB)\wx$(LEVEL).lib
27 wlink @$(LNK)
28 $(BINDCOMMAND) -d_MBCS $(name).res
29
30$(name).res : $(name).rc $(WXDIR)\include\msw\wx.rc
31 $(RC) $(RESFLAGS1) $(name).rc
32
33$(LNK) : makefile.wat
34 %create $(LNK)
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
44
45clean: .SYMBOLIC
46 -erase *.obj *.bak *.err *.pch *.lib *.lnk *.res *.exe *.rex
47