6 # Copyright: (c) 1993, AIAI, University of Edinburgh
10 # Makefile : Builds layout 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
21 !include $(WXDIR)\src\makebcc.env
23 THISDIR = $(WXDIR)\samples\layout
24 WXLIB = $(WXDIR)\lib\wx.lib
26 LIBS=$(WXLIB) mathwl cwl import
27 INC=-I$(WXDIR)\include\base -I$(WXDIR)\include\msw
28 CFG=$(WXDIR)\src\wxwin.cfg
35 LINKFLAGS=/v/Vt /Twe /L$(WXDIR)\lib;$(BCCDIR)\lib
39 LINKFLAGS=/Twe /L$(WXDIR)\lib;$(BCCDIR)\lib
43 CPPFLAGS=$(DEBUG_FLAGS) $(OPT) @$(CFG)
46 SOURCES = layout.$(SRCSUFF)
53 layout.exe: $(WXLIB) layout.obj layout.def layout.res
54 tlink $(LINKFLAGS) @&&!
64 bcc $(CPPFLAGS) -c {$< }
66 layout.obj: layout.$(SRCSUFF)
68 layout.res : layout.rc $(WXDIR)\include\msw\wx.rc
69 rc -r /i$(BCCDIR)\include /i$(WXDIR)\include\msw /i$(WXDIR)\contrib\fafa layout