]> git.saurik.com Git - wxWidgets.git/blob - utils/dialoged/src/makefile.wat
Added stub include files; also a couple more Dialog Editor files.
[wxWidgets.git] / utils / dialoged / src / makefile.wat
1 # Dialog Editor makefile for Watcom
2
3 WXDIR = ..\..\..
4
5 # EXTRACPPFLAGS = $(CLIPSFLAGS)
6
7 !include $(WXDIR)\src\makewat.env
8
9 WXPROPDIR = $(WXDIR)\utils\wxprop
10 WXPROPLIB = $(WXPROPDIR)\lib\wxprop.lib
11 WXPROPINC = $(WXPROPDIR)\src
12
13 THISDIR = $(WXDIR)\utils\dialoged\src
14
15 NAME = dialoged
16 LNK = $(name).lnk
17
18 IFLAGS = -i=$(WXINC) -i=$(WXBASEINC) -i=$(WXPROPINC)
19
20 PROGOBJECTS = dialoged.obj wx_resed.obj wx_rdlg.obj wx_reswr.obj wx_repal.obj wx_rprop.obj
21
22 all: wx wxprop erasepch $(PROGOBJECTS) dialoged.exe
23
24 wx: .SYMBOLIC
25 cd $(WXDIR)\src\msw
26 wmake -f makefile.wat all
27 cd $(THISDIR)
28
29 wxprop: .SYMBOLIC
30 cd $(WXPROPDIR)\src
31 wmake -f makefile.wat all
32 cd $(THISDIR)
33
34 $(name).exe : $(PROGOBJECTS) $(name).res $(LNK) $(WXDIR)\lib\wx$(LEVEL).lib $(WXPROPLIB)
35 wlink @$(LNK)
36 $(BINDCOMMAND) $(name).res
37
38 $(name).res : $(name).rc $(WXDIR)\include\msw\wx.rc
39 $(RC) $(RESFLAGS1) /i$(WXDIR)\include\msw /i$(WXDIR)\contrib\fafa $(name).rc
40
41 $(LNK) : makefile.wat
42 %create $(LNK)
43 @%append $(LNK) $(DEBUGINFO)
44 @%append $(LNK) system $(LINKOPTION)
45 @%append $(LNK) $(MINDATA)
46 @%append $(LNK) $(MAXDATA)
47 @%append $(LNK) $(STACK)
48 @%append $(LNK) name $(name)
49 @%append $(LNK) file $(WXDIR)\lib\wx$(LEVEL).lib
50 @%append $(LNK) file $(WXPROPLIB)
51 @for %i in ($(EXTRALIBS)) do @%append $(LNK) file %i
52 @for %i in ($(PROGOBJECTS)) do @%append $(LNK) file %i
53
54 cleanutils: .SYMBOLIC
55 cd $(WXPROPDIR)\src
56 wmake -f makefile.wat clean
57 cd $(THISDIR)
58
59 clean: .SYMBOLIC
60 -erase *.obj *.bak *.err *.pch *.lbc *.res
61
62