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 | |
c7f49969 | 7 | LIBS=$(WXLIB) $(EXTRALIBS) mathwl cwl import ole2w16 winpng zlib |
62448488 | 8 | |
dbda9e86 | 9 | all: $(TARGET).exe $(EXTRATARGETS) |
62448488 JS |
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 | ||
dbda9e86 JS |
24 | .c.obj: |
25 | bcc $(CPPFLAGS) -P- -c {$< } | |
26 | ||
62448488 | 27 | $(TARGET).res : $(TARGET).rc $(WXDIR)\include\wx\msw\wx.rc |
b14391d1 | 28 | brc -r /i$(BCCDIR)\include /i$(WXDIR)\include /i$(WXDIR)\contrib\include $(TARGET) |
62448488 JS |
29 | |
30 | clean: | |
31 | -erase *.obj | |
32 | -erase *.exe | |
33 | -erase *.res | |
34 | -erase *.map | |
35 | -erase *.rws |