home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1997 January
/
Chip_1997-01_cd.bin
/
ms95
/
disk23
/
dir01
/
f016490.re_
/
f016490.re
Wrap
Text File
|
1996-04-02
|
3KB
|
93 lines
#-----------------------------------------------------------------------
#
# Copyright (1985-95) Bentley Systems, Inc., All rights reserved.
#
# Application Make File
#
# $Logfile: J:/mdl/examples/plaimage/plaimage.mkv $
# $Workfile: plaimage.mke $
# $Revision: 1.0 $
# $Date: 28 Jun 1995 13:04:16 $
#
# "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/plaimage/
%endif
PrivateInc = $(baseDir)
langSpec = $(baseDir)english/
%include mdl.mki
%include mdlexmpl.mki
#----------------------------------------------------------------------
# Define symbol for files included in our link and resource merge
#----------------------------------------------------------------------
plaimageObjs = $(o)plaimage.mo
plaimageRscs = $(o)pimgcmd.rsc \
$(o)pimgtype.rsc \
$(o)plaimage.mb
#---------------------------------------------
# Create command table and header file
#---------------------------------------------
$(genSrc)pimgcmd.h : $(baseDir)pimgcmd.r
$(o)pimgcmd.rsc : $(baseDir)pimgcmd.r
#---------------------------------------------
# Compile and link MDL Application
#---------------------------------------------
$(o)plaimage.mo : $(baseDir)plaimage.mc \
$(baseDir)plaimage.h \
$(genSrc)pimgcmd.h
$(o)plaimage.mb : $(plaimageObjs)
$(msg)
>$(o)temp.cmd
-a$@
-s6000
$(linkOpts)
$(plaimageObjs)
$(mdlLibs)ditemlib.ml
$(mdlLibs)mdllib.ml
<
$(linkCmd) @$(o)temp.cmd
~time
#---------------------------------------------
# Compile Type Resources
#---------------------------------------------
$(o)pimgtype.r: $(baseDir)pimgtype.mt $(baseDir)plaimage.h
$(o)pimgtype.rsc: $(o)pimgtype.r $(baseDir)plaimage.h
#---------------------------------------------
# Merge Objects into one file
#---------------------------------------------
$(o)plaimage.mi : $(plaimageRscs)
$(msg)
>$(o)temp.cmd
-o$@
$(plaimageRscs)
<
$(rscLibCmd) @$(o)temp.cmd
~time
#---------------------------------------------
# Now finish making the language-dependent resources
#---------------------------------------------
%include $(baseDir)pimgrsc.mki