]> git.saurik.com Git - wxWidgets.git/blame - samples/mfc/makefile.b32
fix reference to obsolete b32univ file
[wxWidgets.git] / samples / mfc / makefile.b32
CommitLineData
bbf1f0e5
KB
1#
2# File: makefile.bcc
3# Author: Andre Beltman
4# Created: 1995
5# Updated:
6# Copyright: (c) 1995, AIAI, University of Edinburgh
7#
8# "%W% %G%"
9#
10# Makefile : Builds mfc example (DOS).
11
12# WXWIN and BCCDIR are set by parent make
13
14WXDIR = $(WXWIN)
15!include $(WXDIR)\src\makeb32.env
16
17WXLIBDIR = $(WXDIR)\lib
18WXINC = $(WXDIR)\include\msw
19WXBASESRC = $(WXDIR)\src\base
20WXBASEINC = $(WXDIR)\include\base
21WXLIB = $(WXLIBDIR)\wx32.lib
22FAFALIB = $(WXLIBDIR)\fafa.lib
23ITSYLIB = $(WXLIBDIR)\itsy.lib
24XPMLIB = $(WXLIBDIR)\xpm.lib
25DIBLIB = $(WXLIBDIR)\dib.lib
26GAUGELIB = $(WXLIBDIR)\gauge.lib
27WXTREELIB = $(WXLIBDIR)\wxtree.lib
28RCPARSERLIB = $(WXLIBDIR)\rcparser.lib
29PROLOGLIB = $(WXLIBDIR)\prologio.lib
30LIBS=$(WXLIB) cw32 import32 ctl3d32 $(FAFALIB) $(ITSYLIB) $(DIBLIB)\
31 $(XPMLIB) $(PROLOGLIB) $(RCPARSERLIB) $(GAUGELIB) $(WXTREELIB)
32
33TARGET=hello
34
35!if "$(FINAL)" == "0"
36LINKFLAGS=/v /Tpe /L$(WXLIBDIR);$(BCCDIR)\lib
37OPT = -Od
38DEBUG_FLAGS= -v
39!else
40LINKFLAGS=/Tpe /L$(WXLIBDIR);$(BCCDIR)\lib
41OPT = -Od
42DEBUG_FLAGS =
43!endif
44CPPFLAGS=$(DEBUG_FLAGS) $(OPT) @$(CFG)
45
46OBJECTS = hello.obj
47
48$(TARGET).exe: $(OBJECTS) $(TARGET).def $(TARGET).res
49 tlink32 $(LINKFLAGS) @&&!
50c0w32.obj $(OBJECTS)
51$(TARGET)
52nul
53$(LIBS)
54$(TARGET).def
2243eed5 55$(TARGET).res
bbf1f0e5 56!
bbf1f0e5
KB
57
58.$(SRCSUFF).obj:
59 bcc32 $(CPPFLAGS) -c {$< }
60
61.c.obj:
62 bcc32 $(CPPFLAGS) -P- -c {$< }
63
64hello.obj: hello.$(SRCSUFF)
65
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)
68
69clean:
70 -erase *.obj *.exe *.res *.map *.rws
71