1998-12-28 07:35:49 -05:00
|
|
|
# makeprog.bcc
|
|
|
|
# Incude file for samples
|
|
|
|
|
|
|
|
!include $(WXDIR)\src\makebcc.env
|
|
|
|
|
|
|
|
WXLIB = $(WXDIR)\lib\wx.lib
|
1999-02-14 18:23:19 -05:00
|
|
|
LIBS=$(WXLIB) $(EXTRALIBS) mathwl cwl import ole2w16 winpng zlib
|
1998-12-28 07:35:49 -05:00
|
|
|
|
1999-02-09 11:00:23 -05:00
|
|
|
all: $(TARGET).exe $(EXTRATARGETS)
|
1998-12-28 07:35:49 -05:00
|
|
|
|
|
|
|
$(TARGET).exe: $(WXLIB) $(OBJECTS) $(TARGET).def $(TARGET).res
|
|
|
|
tlink $(LINKFLAGS) @&&!
|
|
|
|
c0wl.obj $(OBJECTS)
|
|
|
|
$(TARGET)
|
|
|
|
nul
|
|
|
|
$(LIBS)
|
|
|
|
$(TARGET).def
|
|
|
|
!
|
1999-01-31 08:58:17 -05:00
|
|
|
brc -K $(TARGET).res
|
1998-12-28 07:35:49 -05:00
|
|
|
|
|
|
|
.$(SRCSUFF).obj:
|
|
|
|
bcc $(CPPFLAGS) -c {$< }
|
|
|
|
|
1999-02-09 11:00:23 -05:00
|
|
|
.c.obj:
|
|
|
|
bcc $(CPPFLAGS) -P- -c {$< }
|
|
|
|
|
1998-12-28 07:35:49 -05:00
|
|
|
$(TARGET).res : $(TARGET).rc $(WXDIR)\include\wx\msw\wx.rc
|
2000-03-03 06:10:51 -05:00
|
|
|
brc -r /i$(BCCDIR)\include /i$(WXDIR)\include /i$(WXDIR)\contrib\include $(TARGET)
|
1998-12-28 07:35:49 -05:00
|
|
|
|
|
|
|
clean:
|
|
|
|
-erase *.obj
|
|
|
|
-erase *.exe
|
|
|
|
-erase *.res
|
|
|
|
-erase *.map
|
|
|
|
-erase *.rws
|