home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1997 January
/
Chip_1997-01_cd.bin
/
ms95
/
disk22
/
dir08
/
f013320.re_
/
f013320.re
Wrap
Text File
|
1996-04-02
|
3KB
|
87 lines
#-----------------------------------------------------------------------
#
# Copyright (1993-1995) Bentley Systems, Inc., All rights reserved.
#
# Application Make File
#
# $Logfile: J:/mdl/examples/applcelm/applcelm.mkv $
# $Workfile: applcelm.mke $
# $Revision: 1.10 $
# $Date: 16 Jun 1995 11:55:44 $
#
# "MicroStation" is a registered trademark and "MDL" and "MicroCSL"
# are trademarks of Bentley Systems, Inc.
#
# Limited permission is hereby granted to reproduce and modify this
# copyrighted material provided that the resulting code is used only
# in conjunction with Bentley Systems products under the terms of the
# license agreement provided therein, and that this notice is retained
# in its entirety in any such reproduction or modification.
#
#-----------------------------------------------------------------------
#------------------------------------------------------------------------
# Define macros specific to this example
#------------------------------------------------------------------------
%if defined (_MakeFilePath)
baseDir = $(_MakeFilePath)
%else
baseDir = $(MS)/mdl/examples/applcelm/
%endif
privateInc = $(baseDir)
#------------------------------------------------------------------------
# mdl.mki contains the default rules for creating .rsc, .mo, etc files
#------------------------------------------------------------------------
%include mdl.mki
%include mdlexmpl.mki
#------------------------------------------------------------------------
# Define macros for files included in link and resource merge
#------------------------------------------------------------------------
applObjs = $(o)applcelm.mo \
$(mdlLibs)mdllib.ml \
$(mdlLibs)ditemlib.ml
applRscs = $(o)appltype.rsc \
$(o)applcelm.mp
#------------------------------------------------------------------------
# Compile the MDL source file using MCOMP
#------------------------------------------------------------------------
$(o)applcelm.mo : $(baseDir)applcelm.mc $(baseDir)applcelm.h
#------------------------------------------------------------------------
# Compile Resource Files
#------------------------------------------------------------------------
$(o)appltype.r : $(baseDir)appltype.mt $(baseDir)applcelm.h
$(o)appltype.rsc : $(o)appltype.r
#------------------------------------------------------------------------
# Link MDL program file from appl.mo & ditemlib.ml using MLINK
#------------------------------------------------------------------------
$(o)applcelm.mp : $(applObjs)
$(msg)
> $(o)make.opt
$(linkOpts)
-a$@
$(applObjs)
<
$(linkCmd) @$(o)make.opt
~time
$(reqdObjs)applcelm.mi : $(applRscs)
$(msg)
> $(o)make.opt
-o$@
$(applRscs)
<
$(rscLibCmd) @$(o)make.opt
~time
#---------------------------------------------
# Include resource specific steps
#---------------------------------------------
%include $(baseDir)apclmrsc.mki