3 # Author: Adnre Beltman
6 # Copyright: (c) 1995, AIAI, University of Edinburgh
10 # Makefile : Builds dialogs example (DOS).
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)
36 $(TARGET).exe: $(OBJECTS) $(TARGET).def $(TARGET).res
37 tlink32 $(LINKFLAGS) @&&!
43 brc32 -K $(TARGET).res
46 bcc32 $(CPPFLAGS) -c {$< }
49 bcc32 $(CPPFLAGS) -P- -c {$< }
51 dialogs.obj: dialogs.$(SRCSUFF)
53 $(TARGET).res : $(TARGET).rc $(WXDIR)\include\wx\msw\wx.rc
54 brc32 -r /i$(BCCDIR)\include /i$(WXDIR)\include $(TARGET)