6 # Copyright: (c) 1993, AIAI, University of Edinburgh
10 # Makefile : Builds tbtest 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\taskbar
24 WXLIB = $(WXDIR)\lib\wx.lib
25 LIBS=$(WXLIB) mathwl cwl import
26 INC=-I$(WXDIR)\include\base -I$(WXDIR)\include\msw
27 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)
50 tbtest.exe: $(WXLIB) tbtest.obj tbtest.def tbtest.res
51 tlink $(LINKFLAGS) @&&!
61 bcc $(CPPFLAGS) -c {$< }
63 tbtest.obj: tbtest.$(SRCSUFF)
65 tbtest.res : tbtest.rc $(WXDIR)\include\msw\wx.rc
66 rc -r /i$(BCCDIR)\include /i$(WXDIR)\include\msw /i$(WXDIR)\contrib\fafa tbtest