6 # Copyright: (c) 1993, AIAI, University of Edinburgh
10 # Makefile : Builds mdi example (DOS).
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)\samples\mdi
28 WXLIB = $(WXDIR)\lib\wx.lib
29 LIBS=$(WXLIB) mathwl cwl import
30 INC=-I$(WXDIR)\include\base -I$(WXDIR)\include\msw
31 CFG=$(WXDIR)\src\wxwin.cfg
34 LINKFLAGS=/v/Vt /Twe /L$(WXDIR)\lib;$(BCCDIR)\lib
38 LINKFLAGS=/Twe /L$(WXDIR)\lib;$(BCCDIR)\lib
42 CPPFLAGS=$(DEBUG_FLAGS) $(OPT) @$(CFG)
45 SOURCES = mdi.$(SRCSUFF)
52 mdi.exe: $(WXLIB) mdi.obj mdi.def mdi.res
53 tlink $(LINKFLAGS) @&&!
63 bcc $(CPPFLAGS) -c {$< }
65 mdi.obj: mdi.$(SRCSUFF)
67 mdi.res : mdi.rc $(WXDIR)\include\msw\wx.rc
68 rc -r /i$(BCCDIR)\include /i$(WXDIR)\include\msw /i$(WXDIR)\contrib\fafa mdi