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
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) @&&!
44 brc32 -K $(TARGET).res
47 bcc32 $(CPPFLAGS) -c {$< }
50 bcc32 $(CPPFLAGS) -P- -c {$< }
52 docview.obj: docview.$(SRCSUFF) docview.h
54 doc.obj: doc.$(SRCSUFF) doc.h
56 view.obj: view.$(SRCSUFF) view.h
58 $(TARGET).res : $(TARGET).rc $(WXDIR)\include\wx\msw\wx.rc
59 brc32 -r /i$(BCCDIR)\include /i$(WXDIR)\include $(TARGET)