50 lines
1.1 KiB
Makefile
50 lines
1.1 KiB
Makefile
# bootstrap makefile for borland
|
|
# to build make sure borland make and bcc32 are in your path and
|
|
# bcc32 works from the command line (i.e. bcc32.cfg and ilink32.cfg are
|
|
# in place and working.)
|
|
# then just run make -f Makefile.borland
|
|
#
|
|
|
|
# Rule to build cxx file(s)
|
|
.cxx.obj:
|
|
bcc32 -Pcxx -c -DCMAKE_ROOT_DIR='"."' {$< }
|
|
|
|
|
|
OBJS = \
|
|
cmake.obj \
|
|
cmakewizard.obj \
|
|
cmakemain.obj \
|
|
cmMakeDepend.obj \
|
|
cmMakefile.obj \
|
|
cmMakefileGenerator.obj \
|
|
cmRegularExpression.obj \
|
|
cmSourceFile.obj \
|
|
cmSystemTools.obj \
|
|
cmDirectory.obj \
|
|
cmUnixMakefileGenerator.obj \
|
|
cmMSProjectGenerator.obj \
|
|
cmMSDotNETGenerator.obj \
|
|
cmDSPWriter.obj \
|
|
cmDSWWriter.obj \
|
|
cmNMakeMakefileGenerator.obj \
|
|
cmBorlandMakefileGenerator.obj \
|
|
cmCommands.obj \
|
|
cmTarget.obj \
|
|
cmCustomCommand.obj \
|
|
cmCacheManager.obj \
|
|
cmListFileCache.obj \
|
|
cmSourceGroup.obj
|
|
|
|
all: cmake.exe ccommand.exe
|
|
|
|
cmake.exe: ${OBJS}
|
|
bcc32 -ecmake ${OBJS}
|
|
|
|
ccommand.exe: ccommand.obj cmSystemTools.obj cmRegularExpression.obj
|
|
bcc32 -eccommand ccommand.obj cmRegularExpression.obj cmSystemTools.obj
|
|
|
|
|
|
|
|
clean:
|
|
del ${OBJS} cmake.exe ccommand.exe
|