6 # Copyright: (c) 1993, AIAI, University of Edinburgh
10 # Makefile : Builds 32bit resource example.
12 # WXWIN and BCCDIR are set by parent make
15 !include $(WXDIR)\src\makeb32.env
17 WXLIBDIR = $(WXDIR)\lib
18 WXLIB = $(WXLIBDIR)\wx32.lib
19 LIBS=$(WXLIB) cw32 import32 ole2w32
24 LINKFLAGS=/v /Tpe /L$(WXLIBDIR);$(BCCDIR)\lib
28 LINKFLAGS=/Tpe /L$(WXLIBDIR);$(BCCDIR)\lib
32 CPPFLAGS=$(DEBUG_FLAGS) $(OPT) @$(CFG)
34 OBJECTS = resource.obj
36 $(TARGET).exe: $(OBJECTS) $(TARGET).def $(TARGET).res
37 tlink32 $(LINKFLAGS) @&&!
47 bcc32 $(CPPFLAGS) -c {$< }
50 bcc32 $(CPPFLAGS) -P- -c {$< }
52 resource.obj: resource.$(SRCSUFF) resource.h dialog1.wxr
54 $(TARGET).res : $(TARGET).rc $(WXDIR)\include\wx\msw\wx.rc
55 brc32 -r /i$(BCCDIR)\include /i$(WXDIR)\include $(TARGET)