]> git.saurik.com Git - wxWidgets.git/blame - samples/mdi/makefile.b32
no message
[wxWidgets.git] / samples / mdi / makefile.b32
CommitLineData
c801d85f
KB
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 MDI example.
11
12# WXWIN and BCCDIR are set by parent make
13
14WXDIR = $(WXWIN)
15!include $(WXDIR)\src\makeb32.env
16
17WXLIBDIR = $(WXDIR)\lib
18WXLIB = $(WXLIBDIR)\wx32.lib
19LIBS=$(WXLIB) cw32 import32
20
21TARGET=mdi
22
23!if "$(FINAL)" == "0"
24LINKFLAGS=/v /Tpe /L$(WXLIBDIR);$(BCCDIR)\lib
25OPT = -Od
26DEBUG_FLAGS= -v
27!else
28LINKFLAGS=/Tpe /L$(WXLIBDIR);$(BCCDIR)\lib
29OPT = -Od
30DEBUG_FLAGS =
31!endif
32CPPFLAGS=$(DEBUG_FLAGS) $(OPT) @$(CFG)
33
34OBJECTS = mdi.obj
35
36$(TARGET).exe: $(OBJECTS) $(TARGET).def $(TARGET).res
37 tlink32 $(LINKFLAGS) @&&!
38c0w32.obj $(OBJECTS)
39$(TARGET)
40nul
41$(LIBS)
42$(TARGET).def
2243eed5 43$(TARGET).res
c801d85f 44!
c801d85f
KB
45
46.$(SRCSUFF).obj:
47 bcc32 $(CPPFLAGS) -c {$< }
48
49.c.obj:
50 bcc32 $(CPPFLAGS) -P- -c {$< }
51
52mdi.obj: mdi.$(SRCSUFF) mdi.h
53
54$(TARGET).res : $(TARGET).rc $(WXDIR)\include\wx\msw\wx.rc
55 brc32 -r /i$(BCCDIR)\include /i$(WXDIR)\include $(TARGET)
56
57clean:
58 -erase *.obj
59 -erase *.exe
60 -erase *.res
61 -erase *.map
62 -erase *.rws
63
64