]> git.saurik.com Git - wxWidgets.git/blame - samples/docvwmdi/makefile.b32
const added to GetBitmap it was my fault.
[wxWidgets.git] / samples / docvwmdi / makefile.b32
CommitLineData
2108f33a
JS
1#
2# File: makefile.b32
3# Author: Patrick Halke
4# Created: 1995
5# Updated:
6# Copyright: (c) 1993, AIAI, University of Edinburgh
7#
8# "%W% %G%"
9#
10# Makefile : Builds 32bit buttonbar example.
11
12# WXWIN and BCCDIR are set by parent make
13
14WXDIR = $(WXWIN)
15
16!include $(WXDIR)\src\makeb32.env
17
18WXLIBDIR = $(WXDIR)\lib
19WXLIB=$(WXLIBDIR)\wx32.lib
20LIBS=$(WXLIB) cw32 import32
21
22TARGET=docview
23
24!if "$(FINAL)" == "0"
25LINKFLAGS=/v /Tpe /L$(WXLIBDIR);$(BCCDIR)\lib
26OPT = -Od
27DEBUG_FLAGS= -v
28!else
29LINKFLAGS=/Tpe /L$(WXLIBDIR);$(BCCDIR)\lib
30OPT = -Od
31DEBUG_FLAGS =
32!endif
33CPPFLAGS=$(DEBUG_FLAGS) $(OPT) @$(CFG)
34
35OBJECTS = docview.obj doc.obj view.obj
36
37$(TARGET).exe: $(OBJECTS) $(TARGET).def $(TARGET).res
38 tlink32 $(LINKFLAGS) @&&!
39c0w32.obj $(OBJECTS)
40$(TARGET)
41nul
42$(LIBS)
43!
44 brc32 -K $(TARGET).res
45
46.$(SRCSUFF).obj:
47 bcc32 $(CPPFLAGS) -c {$< }
48
49.c.obj:
50 bcc32 $(CPPFLAGS) -P- -c {$< }
51
52docview.obj: docview.$(SRCSUFF) docview.h
53
54doc.obj: doc.$(SRCSUFF) doc.h
55
56view.obj: view.$(SRCSUFF) view.h
57
58$(TARGET).res : $(TARGET).rc $(WXDIR)\include\wx\msw\wx.rc
59 brc32 -r /i$(BCCDIR)\include /i$(WXDIR)\include $(TARGET)
60
61clean:
62 -erase *.obj
63 -erase *.exe
64 -erase *.res
65 -erase *.map
66 -erase *.rws
67