]> git.saurik.com Git - wxWidgets.git/blob - samples/mfc/makefile.wat
test raw bitmap access
[wxWidgets.git] / samples / mfc / makefile.wat
1 #
2 # Makefile for WATCOM
3 #
4 # Created by Julian Smart, January 1999
5 #
6 #
7
8 WXDIR = ..\..
9
10 !include $(WXDIR)\src\makewat.env
11
12 WXLIB = $(WXDIR)\lib
13 NAME = hello
14 LNK = $(name).lnk
15 OBJS = $(name).obj
16
17 # Required for multi-threaded MFC apps
18 EXTRACPPFLAGS = -bm -oaxt-zp4-ei-xs-zo-w3-bm-bt=nt -d_WINDOWS -d_MBCS
19 refmain = _wstart2_
20
21
22 PRECOMP=
23
24 all: $(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
45 clean: .SYMBOLIC
46 -erase *.obj *.bak *.err *.pch *.lib *.lnk *.res *.exe *.rex
47