1998-05-22 19:57:05 +00:00
|
|
|
#
|
|
|
|
# File: makefile.bcc
|
|
|
|
# Author: Julian Smart
|
|
|
|
# Created: 1993
|
|
|
|
# Updated:
|
|
|
|
# Copyright: (c) 1993, AIAI, University of Edinburgh
|
|
|
|
#
|
|
|
|
# "%W% %G%"
|
|
|
|
#
|
|
|
|
# Makefile : Builds treetest example (DOS).
|
|
|
|
|
|
|
|
# WXWIN and BCCDIR are set by parent make
|
|
|
|
|
|
|
|
WXDIR = $(WXWIN)
|
|
|
|
!include $(WXDIR)\src\makeb32.env
|
|
|
|
|
|
|
|
WXLIBDIR = $(WXDIR)\lib
|
|
|
|
WXLIB = $(WXLIBDIR)\wx32.lib
|
1998-12-08 18:49:20 +00:00
|
|
|
LIBS=$(WXLIB) cw32 import32 ole2w32
|
1998-05-22 19:57:05 +00:00
|
|
|
|
|
|
|
TARGET=treetest
|
|
|
|
|
|
|
|
!if "$(FINAL)" == "0"
|
|
|
|
LINKFLAGS=/v /Tpe /L$(WXLIBDIR);$(BCCDIR)\lib
|
|
|
|
OPT = -Od
|
|
|
|
DEBUG_FLAGS= -v
|
|
|
|
!else
|
|
|
|
LINKFLAGS=/Tpe /L$(WXLIBDIR);$(BCCDIR)\lib
|
|
|
|
OPT = -Od
|
|
|
|
DEBUG_FLAGS =
|
|
|
|
!endif
|
|
|
|
CPPFLAGS=$(DEBUG_FLAGS) $(OPT) @$(CFG)
|
|
|
|
|
|
|
|
OBJECTS = treetest.obj
|
|
|
|
|
|
|
|
$(TARGET).exe: $(OBJECTS) $(TARGET).def $(TARGET).res
|
|
|
|
tlink32 $(LINKFLAGS) @&&!
|
|
|
|
c0w32.obj $(OBJECTS)
|
|
|
|
$(TARGET)
|
|
|
|
nul
|
|
|
|
$(LIBS)
|
1998-11-17 23:03:15 +00:00
|
|
|
$(TARGET).def
|
|
|
|
$(TARGET).res
|
1998-05-22 19:57:05 +00:00
|
|
|
!
|
|
|
|
|
|
|
|
.$(SRCSUFF).obj:
|
|
|
|
bcc32 $(CPPFLAGS) -c {$< }
|
|
|
|
|
|
|
|
.c.obj:
|
|
|
|
bcc32 $(CPPFLAGS) -P- -c {$< }
|
|
|
|
|
|
|
|
treetest.obj: treetest.$(SRCSUFF)
|
|
|
|
|
|
|
|
$(TARGET).res : $(TARGET).rc $(WXDIR)\include\wx\msw\wx.rc
|
|
|
|
brc32 -r /i$(BCCDIR)\include /i$(WXDIR)\include $(TARGET)
|
|
|
|
|
|
|
|
clean:
|
|
|
|
-erase *.obj
|
|
|
|
-erase *.exe
|
|
|
|
-erase *.res
|
|
|
|
-erase *.map
|
|
|
|
-erase *.rws
|
|
|
|
|