]> git.saurik.com Git - wxWidgets.git/blame_incremental - src/makeprog.bcc
It's better to scroll by a little too much than by just barely not enough...
[wxWidgets.git] / src / makeprog.bcc
... / ...
CommitLineData
1# makeprog.bcc
2# Incude file for samples
3
4!include $(WXDIR)\src\makebcc.env
5
6WXLIB = $(WXDIR)\lib\wx.lib
7LIBS=$(WXLIB) $(EXTRALIBS) mathwl cwl import ole2w16 winpng zlib
8
9all: $(TARGET).exe $(EXTRATARGETS)
10
11$(TARGET).exe: $(WXLIB) $(OBJECTS) $(TARGET).def $(TARGET).res
12 tlink $(LINKFLAGS) @&&!
13c0wl.obj $(OBJECTS)
14$(TARGET)
15nul
16$(LIBS)
17$(TARGET).def
18!
19 brc -K $(TARGET).res
20
21.$(SRCSUFF).obj:
22 bcc $(CPPFLAGS) -c {$< }
23
24.c.obj:
25 bcc $(CPPFLAGS) -P- -c {$< }
26
27$(TARGET).res : $(TARGET).rc $(WXDIR)\include\wx\msw\wx.rc
28 brc -r /i$(BCCDIR)\include /i$(WXDIR)\include /i$(WXDIR)\contrib\include $(TARGET)
29
30clean:
31 -erase *.obj
32 -erase *.exe
33 -erase *.res
34 -erase *.map
35 -erase *.rws