6 # Copyright: (c) 1993, AIAI, University of Edinburgh
10 # Makefile : Builds Dialog Editor (Borland, 16-bit)
13 !error You must define the BCCDIR variable in autoexec.bat, e.g. BCCDIR=d:\bc4
17 !error You must define the WXWIN variable in autoexec.bat, e.g. WXWIN=c:\wx
25 !include $(WXDIR)\src\makebcc.env
27 THISDIR = $(WXDIR)\utils\dialoged\src
28 WXLIB = $(WXDIR)\lib\wx.lib
29 WXPROPDIR = $(WXDIR)\utils\wxprop
30 WXPROPINC = $(WXPROPDIR)\src
31 WXPROPLIB = $(WXPROPDIR)\lib\wxprop.lib
33 LIBS=$(WXLIB) $(WXPROPLIB) mathwl cwl import
34 INC=-I$(WXDIR)\include\base -I$(WXDIR)\include\msw
35 CFG=$(WXDIR)\src\wxwin.cfg
36 INCFILE = includes.cfg
40 LINKFLAGS=/v/Vt /Twe /L$(WXDIR)\lib;$(BCCDIR)\lib
44 LINKFLAGS=/Twe /L$(WXDIR)\lib;$(BCCDIR)\lib
48 CPPFLAGS=$(DEBUG_FLAGS) $(OPT) @$(CFG) @$(INCFILE)
50 OBJECTS = wx_resed.obj wx_rdlg.obj wx_reswr.obj wx_repal.obj wx_rprop.obj dialoged.obj
54 dialoged.exe: $(INCFILE) $(WXLIB) $(OBJECTS) dialoged.def dialoged.res
55 tlink $(LINKFLAGS) @&&!
62 rc -30 -K dialoged.res
65 bcc $(CPPFLAGS) -c {$< }
67 dialoged.obj: dialoged.$(SRCSUFF) wx_resed.h
68 wx_resed.obj: wx_resed.$(SRCSUFF) wx_resed.h wx_rprop.h
69 wx_resed.obj: wx_rdlg.$(SRCSUFF) wx_resed.h wx_rprop.h
70 wx_rprop.obj: wx_rprop.$(SRCSUFF) wx_resed.h wx_rprop.h
71 wx_reswr.obj: wx_reswr.$(SRCSUFF) wx_resed.h
72 wx_repal.obj: wx_repal.$(SRCSUFF) wx_repal.h
74 dialoged.res : dialoged.rc $(WXDIR)\include\msw\wx.rc
75 rc -r /i$(BCCDIR)\include /i$(WXDIR)\include\msw /i$(WXDIR)\contrib\fafa dialoged
77 $(INCFILE): $(MAKEFILENAME)