]> git.saurik.com Git - wxWidgets.git/blame - utils/dialoged/src/makefile.wat
OGL fixes; documentation fixes; dialog editor updates
[wxWidgets.git] / utils / dialoged / src / makefile.wat
CommitLineData
457814b5
JS
1# Dialog Editor makefile for Watcom
2
3WXDIR = ..\..\..
4
5# EXTRACPPFLAGS = $(CLIPSFLAGS)
6
7!include $(WXDIR)\src\makewat.env
8
9WXPROPDIR = $(WXDIR)\utils\wxprop
10WXPROPLIB = $(WXPROPDIR)\lib\wxprop.lib
11WXPROPINC = $(WXPROPDIR)\src
12
13THISDIR = $(WXDIR)\utils\dialoged\src
14
15NAME = dialoged
16LNK = $(name).lnk
17
18IFLAGS = -i=$(WXINC) -i=$(WXBASEINC) -i=$(WXPROPINC)
19
20PROGOBJECTS = dialoged.obj wx_resed.obj wx_rdlg.obj wx_reswr.obj wx_repal.obj wx_rprop.obj
21
22all: wx wxprop erasepch $(PROGOBJECTS) dialoged.exe
23
24wx: .SYMBOLIC
25 cd $(WXDIR)\src\msw
26 wmake -f makefile.wat all
27 cd $(THISDIR)
28
29wxprop: .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
54cleanutils: .SYMBOLIC
55 cd $(WXPROPDIR)\src
56 wmake -f makefile.wat clean
57 cd $(THISDIR)
58
59clean: .SYMBOLIC
60 -erase *.obj *.bak *.err *.pch *.lbc *.res
61
62