6 # Copyright: (c) 1993, AIAI, University of Edinburgh
10 # Makefile : Builds 32bit nativdlg 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
24 LINKFLAGS=/v /Tpe /L$(WXLIBDIR);$(BCCDIR)\lib
28 LINKFLAGS=/Tpe /L$(WXLIBDIR);$(BCCDIR)\lib
32 CPPFLAGS=$(DEBUG_FLAGS) $(OPT) @$(CFG)
34 OBJECTS = nativdlg.obj
36 $(TARGET).exe: $(OBJECTS) $(TARGET).def $(TARGET).res
37 tlink32 $(LINKFLAGS) @&&!
44 brc32 -K $(TARGET).res
47 bcc32 $(CPPFLAGS) -c {$< }
50 bcc32 $(CPPFLAGS) -P- -c {$< }
52 nativdlg.obj: nativdlg.$(SRCSUFF) nativdlg.h # dialog1.wxr
54 $(TARGET).res : $(TARGET).rc $(WXDIR)\include\wx\msw\wx.rc
55 brc32 -r /D__WXMSW__ /i$(BCCDIR)\include /i$(WXDIR)\include $(TARGET)