]> git.saurik.com Git - wxWidgets.git/blame_incremental - src/makeprog.b32
Changed char* to wxChar* in wxColour constructor.
[wxWidgets.git] / src / makeprog.b32
... / ...
CommitLineData
1#
2# File: makeprog.b32
3# Author: Julian Smart
4# Created: 1999
5# Updated:
6# Copyright:
7#
8# Include file for samples and utilities. Set TARGET and OBJECTS
9# before including this file.
10
11# WXWIN and BCCDIR are set by parent make
12
13WXDIR = $(WXWIN)
14!include $(WXDIR)\src\makeb32.env
15
16!if "$(WXUSINGDLL)" == "1"
17LIBS=$(WXLIB) $(EXTRALIBS) cw32mti import32 ole2w32 winpng regex zlib jpeg tiff odbc32
18!else
19LIBS=$(WXLIB) $(EXTRALIBS) cw32mt import32 ole2w32 winpng regex zlib jpeg tiff odbc32
20!endif
21
22# Note: you may need to remove some libraries for earlier versions of BC++, as below
23#LIBS=$(WXLIB) $(EXTRALIBS) cw32mt import32 ole2w32 winpng zlib tiff
24
25!if "$(FINAL)" == "0"
26#LINKFLAGS=/v /c /Tpe $(LNKCFG) $(EXTRALINKFLAGS)
27LINKFLAGS=/v /c /aa -L$(WXLIBDIR);$(WXLIBDIR2);$(BCCDIR)\lib;$(BCCDIR)\lib\psdk $(EXTRALINKFLAGS)
28OPT = -Od
29DEBUG_FLAGS= -v
30!else
31#LINKFLAGS=/Tpe +$(LNKCFG) $(EXTRALINKFLAGS)
32LINKFLAGS=/aa -L$(WXLIBDIR);$(WXLIBDIR2);$(BCCDIR)\lib;$(BCCDIR)\lib\psdk $(EXTRALINKFLAGS)
33OPT = -Od
34DEBUG_FLAGS =
35!endif
36
37CPPFLAGS=$(CPPFLAGS) $(DEBUG_FLAGS) $(OPT)
38
39all: $(TARGET).exe $(EXTRATARGETS)
40
41$(TARGET).exe: $(OBJECTS) $(TARGET).res
42 $(LINK) $(LINKFLAGS) @&&!
43c0w32.obj $(OBJECTS)
44$(TARGET)
45nul
46$(LIBS)
47
48$(TARGET).res
49!
50
51.$(SRCSUFF).obj:
52 bcc32 $(CPPFLAGS) -c {$< }
53
54.c.obj:
55 bcc32 $(CPPFLAGS) -P- -c {$< }
56
57$(TARGET).res : $(TARGET).rc $(WXDIR)\include\wx\msw\wx.rc
58 brc32 -r /i$(BCCDIR)\include /i$(WXDIR)\include /i$(WXDIR)\contrib\include $(TARGET)
59
60clean:
61 -erase *.obj
62 -erase *.exe
63 -erase *.res
64 -erase *.map
65 -erase *.rws
66 -erase *.tds
67 -erase *.il?
68