]> git.saurik.com Git - wxWidgets.git/blob - src/makeprog.b32
changed char event handling for ctrl-chars and skipped events
[wxWidgets.git] / src / makeprog.b32
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
14 WXDIR = $(WXWIN)
15 !include $(WXDIR)\src\makeb32.env
16
17 !if "$(WXUSINGDLL)" == "1"
18 LIBS=$(WXLIB) $(EXTRALIBS) cw32mti import32 ole2w32 winpng regex zlib jpeg tiff odbc32
19 !else
20 LIBS=$(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)
28 LINKFLAGS=/v /c /aa -L$(WXLIBDIR);$(WXLIBDIR2);$(BCCDIR)\lib;$(BCCDIR)\lib\psdk $(EXTRALINKFLAGS)
29 OPT = -Od
30 DEBUG_FLAGS= -v
31 !else
32 #LINKFLAGS=/Tpe +$(LNKCFG) $(EXTRALINKFLAGS)
33 LINKFLAGS=/aa -L$(WXLIBDIR);$(WXLIBDIR2);$(BCCDIR)\lib;$(BCCDIR)\lib\psdk $(EXTRALINKFLAGS)
34 OPT = -Od
35 DEBUG_FLAGS =
36 !endif
37
38 CPPFLAGS=$(CPPFLAGS) $(DEBUG_FLAGS) $(OPT)
39
40 all: $(TARGET).exe $(EXTRATARGETS)
41
42 $(TARGET).exe: $(OBJECTS) $(TARGET).res
43 $(LINK) $(LINKFLAGS) @&&!
44 c0w32.obj $(OBJECTS)
45 $(TARGET)
46 nul
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
61 clean:
62 -erase *.obj
63 -erase *.exe
64 -erase *.res
65 -erase *.map
66 -erase *.rws
67 -erase *.tds
68 -erase *.il?
69