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