home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1997 January
/
Chip_1997-01_cd.bin
/
ms95
/
disk22
/
dir08
/
f013520.re_
/
f013520.re
Wrap
Text File
|
1996-04-02
|
2KB
|
95 lines
#-----------------------------------------------------------------------
#
# Copyright (1995) Bentley Systems, Inc., All rights reserved.
#
# Application Make File
#
# $Logfile: J:/mdl/examples/calculat/calculat.mkv $
# $Workfile: calculat.mke $
# $Revision: 5.7 $
# $Date: 16 Jun 1995 13:50:04 $
#
# "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.
#
#-----------------------------------------------------------------------
%if defined (_MakeFilePath)
BaseDir = $(_MakeFilePath)
%else
BaseDir = $(MS)/mdl/examples/calculat/
%endif
privateInc = $(BaseDir)
#---------------------------------------------
# include files with needed make definitions
#---------------------------------------------
%include mdl.mki
%include mdlexmpl.mki
#---------------------------------------------
# Local definitions
#---------------------------------------------
calcObjs = $(o)calculat.mo \
$(o)calcdlog.mo \
$(mdlLibs)ditemlib.ml
rscObjList = $(o)calctype.rsc \
$(o)calccmd.rsc \
$(o)calculat.mp
#---------------------------------------------
# Compile Dialog Resources
#---------------------------------------------
$(o)calccmd.rsc $(genSrc)calccmd.h : $(BaseDir)calccmd.r
$(msg)
> $(o)temp.cmd
-ho$(genSrc)calccmd.h
-i$(privateInc)
-i$(publishInc)
-o$(o)calccmd.rsc
$%$*.r
<
$(rscCompCmd) @$(o)temp.cmd
~time
$(o)calctype.r : $(BaseDir)calctype.mt $(BaseDir)calculat.h
$(o)calctype.rsc : $(o)calctype.r
$(o)calcdlog.mo : $(BaseDir)calcdlog.mc $(BaseDir)calculat.h
$(o)calculat.mo : $(BaseDir)calculat.mc $(BaseDir)calculat.h \
$(genSrc)calccmd.h
$(o)calculat.mp : $(calcObjs)
$(msg)
> $(o)make.opt
-a$%$*.mp
-s6000
$(linkOpts)
$(calcObjs)
<
$(linkCmd) @$(o)make.opt
~time
$(reqdObjs)calculat.mi : $(rscObjList)
$(msg)
> $(o)make.opt
-o$@
$(rscObjList)
<
$(rscLibCmd) @$(o)make.opt
~time
# complete construction of the .ma by getting the language-dependent resource.
%include $(BaseDir)calcrsc.mki