3 # Author: Andre Beltman
10 # Makefile : Builds mfc 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 WXBASESRC = $(WXDIR)\src\base
20 WXBASEINC = $(WXDIR)\include\base
21 WXLIB = $(WXLIBDIR)\wx32.lib
22 FAFALIB = $(WXLIBDIR)\fafa.lib
23 ITSYLIB = $(WXLIBDIR)\itsy.lib
24 XPMLIB = $(WXLIBDIR)\xpm.lib
25 DIBLIB = $(WXLIBDIR)\dib.lib
26 GAUGELIB = $(WXLIBDIR)\gauge.lib
27 WXTREELIB = $(WXLIBDIR)\wxtree.lib
28 RCPARSERLIB = $(WXLIBDIR)\rcparser.lib
29 PROLOGLIB = $(WXLIBDIR)\prologio.lib
30 LIBS=$(WXLIB) cw32 import32 ctl3d32 $(FAFALIB) $(ITSYLIB) $(DIBLIB)\
31 $(XPMLIB) $(PROLOGLIB) $(RCPARSERLIB) $(GAUGELIB) $(WXTREELIB)
36 LINKFLAGS=/v /Tpe /L$(WXLIBDIR);$(BCCDIR)\lib
40 LINKFLAGS=/Tpe /L$(WXLIBDIR);$(BCCDIR)\lib
44 CPPFLAGS=$(DEBUG_FLAGS) $(OPT) @$(CFG)
48 $(TARGET).exe: $(OBJECTS) $(TARGET).def $(TARGET).res
49 tlink32 $(LINKFLAGS) @&&!
59 bcc32 $(CPPFLAGS) -c {$< }
62 bcc32 $(CPPFLAGS) -P- -c {$< }
64 hello.obj: hello.$(SRCSUFF)
66 $(TARGET).res : $(TARGET).rc $(WXDIR)\include\msw\wx.rc
67 brc32 -r /i$(BCCDIR)\include /i$(WXDIR)\include\msw /i$(WXDIR)\contrib\fafa $(TARGET)
70 -erase *.obj *.exe *.res *.map *.rws