3 # Author: Patrick Halke
6 # Copyright: (c) 1993, AIAI, University of Edinburgh
10 # Makefile : Builds 32bit buttonbar example.
12 # WXWIN and BCCDIR are set by parent make
16 !include $(WXDIR)\src\makeb32.env
18 WXLIBDIR = $(WXDIR)\lib
19 WXLIB=$(WXLIBDIR)\wx32.lib
20 LIBS=$(WXLIB) cw32 import32 ole2w32
25 LINKFLAGS=/v /Tpe /L$(WXLIBDIR);$(BCCDIR)\lib
29 LINKFLAGS=/Tpe /L$(WXLIBDIR);$(BCCDIR)\lib
33 CPPFLAGS=$(DEBUG_FLAGS) $(OPT) @$(CFG)
35 OBJECTS = docview.obj doc.obj view.obj
37 $(TARGET).exe: $(OBJECTS) $(TARGET).def $(TARGET).res
38 tlink32 $(LINKFLAGS) @&&!
48 bcc32 $(CPPFLAGS) -c {$< }
51 bcc32 $(CPPFLAGS) -P- -c {$< }
53 docview.obj: docview.$(SRCSUFF) docview.h
55 doc.obj: doc.$(SRCSUFF) doc.h
57 view.obj: view.$(SRCSUFF) view.h
59 $(TARGET).res : $(TARGET).rc $(WXDIR)\include\wx\msw\wx.rc
60 brc32 -r /i$(BCCDIR)\include /i$(WXDIR)\include $(TARGET)