6 # Copyright: (c) 1993, AIAI, University of Edinburgh
10 # Makefile : Builds ownerdrw example (DOS).
12 # WXWIN and BCCDIR are set by parent make
15 !include $(WXDIR)\src\makeb32.env
17 WXLIBDIR = $(WXDIR)\lib
18 WXINC = $(WXDIR)\include\msw
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 = ownerdrw.obj
37 $(TARGET).exe: $(OBJECTS) $(TARGET).def $(TARGET).res
38 tlink32 $(LINKFLAGS) @&&!
45 brc32 -K $(TARGET).res
48 bcc32 $(CPPFLAGS) -c {$< }
51 bcc32 $(CPPFLAGS) -P- -c {$< }
53 ownerdrw.obj: ownerdrw.$(SRCSUFF)
55 $(TARGET).res : $(TARGET).rc $(WXDIR)\include\wx\msw\wx.rc
56 brc32 -r /i$(BCCDIR)\include /i$(WXDIR)\include $(TARGET)