1 # Dialog Editor makefile for Watcom
5 # EXTRACPPFLAGS = $(CLIPSFLAGS)
7 !include $(WXDIR)\src\makewat.env
9 WXPROPDIR = $(WXDIR)\utils\wxprop
10 WXPROPLIB = $(WXPROPDIR)\lib\wxprop.lib
11 WXPROPINC = $(WXPROPDIR)\src
13 THISDIR = $(WXDIR)\utils\dialoged\src
18 IFLAGS = -i=$(WXINC) -i=$(WXBASEINC) -i=$(WXPROPINC)
20 PROGOBJECTS = dialoged.obj wx_resed.obj wx_rdlg.obj wx_reswr.obj wx_repal.obj wx_rprop.obj
22 all: wx wxprop erasepch $(PROGOBJECTS) dialoged.exe
26 wmake -f makefile.wat all
31 wmake -f makefile.wat all
34 $(name).exe : $(PROGOBJECTS) $(name).res $(LNK) $(WXDIR)\lib\wx$(LEVEL).lib $(WXPROPLIB)
36 $(BINDCOMMAND) $(name).res
38 $(name).res : $(name).rc $(WXDIR)\include\msw\wx.rc
39 $(RC) $(RESFLAGS1) /i$(WXDIR)\include\msw /i$(WXDIR)\contrib\fafa $(name).rc
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
56 wmake -f makefile.wat clean
60 -erase *.obj *.bak *.err *.pch *.lbc *.res