]>
Commit | Line | Data |
---|---|---|
62448488 JS |
1 | # makeprog.bcc |
2 | # Incude file for samples | |
3 | ||
4 | !include $(WXDIR)\src\makebcc.env | |
5 | ||
6 | WXLIB = $(WXDIR)\lib\wx.lib | |
3b1de9c2 | 7 | LIBS=$(WXLIB) mathwl cwl import ole2w16 |
62448488 JS |
8 | |
9 | all: $(TARGET).exe | |
10 | ||
11 | $(TARGET).exe: $(WXLIB) $(OBJECTS) $(TARGET).def $(TARGET).res | |
12 | tlink $(LINKFLAGS) @&&! | |
13 | c0wl.obj $(OBJECTS) | |
14 | $(TARGET) | |
15 | nul | |
16 | $(LIBS) | |
17 | $(TARGET).def | |
18 | ! | |
0a240683 | 19 | brc -K $(TARGET).res |
62448488 JS |
20 | |
21 | .$(SRCSUFF).obj: | |
22 | bcc $(CPPFLAGS) -c {$< } | |
23 | ||
24 | $(TARGET).res : $(TARGET).rc $(WXDIR)\include\wx\msw\wx.rc | |
0a240683 | 25 | brc -r /i$(BCCDIR)\include /i$(WXDIR)\include $(TARGET) |
62448488 JS |
26 | |
27 | clean: | |
28 | -erase *.obj | |
29 | -erase *.exe | |
30 | -erase *.res | |
31 | -erase *.map | |
32 | -erase *.rws |