- 积分
- 7
- 注册时间
- 2004-7-21
- 仿真币
-
- 最后登录
- 1970-1-1
|
发表于 2005-11-29 20:05:27
|
显示全部楼层
来自 浙江杭州
Re:ADINA自建材料生成DLL文件的方法
哪位计算机高手可以解释一下这里面的语法,意义什么的(是一个makefile文件):
#
# Makefile for ADINA user routine library
# =======================================
# Platform : Windows
#
# See README.txt file for instructions
# ----------------------------------------------------------------------------
TARGET = adusr
# ----------------------------------------------------------------------------
FFLAGS=/compile_only /dll /nologo /warn:nofileopt
.f.obj:
df.exe $(FFLAGS) $<
LINK32=link.exe
LINK32_FLAGS=/nologo /subsystem:windows /dll /incremental:no /pdb:"$(TARGET).pdb" /machine:I386 /out:"$(TARGET).dll" /implib:"$(TARGET).lib"
#
# NOTE:
# 1. For 2-D user-defined materials (ovl30u_*.obj), files
# ovl30u_cn1.obj, ovl30u_cn2.obj, ovl30u_pl1.obj, ovl30u_vp1.obj,
# ovl30u_vel.obj, ovl30u_moon1.obj, ovl30u_moon2.obj, and ovl30u_ogdn.obj,
# ovl30u_pl2.obj, ovl30u_pl3.obj
# are mutually exclusive - use ONLY one of them in MAT2D_OBJ.
#
# 2. For 3-D user-defined materials (ovl40u_*.obj), files
# ovl40u_cn1.obj, ovl40u_cn2.obj, ovl40u_pl1.obj, ovl40u_vp1.obj,
# ovl40u_vel.obj, ovl40u_moon.obj, and ovl40u_ogdn.obj
# ovl40u_pl2.obj, ovl40u_pl3.obj
# are mutually exclusive - use ONLY one of them in MAT3D_OBJ.
#
MAT2D_OBJ = ovl30u_vp1.obj
MAT3D_OBJ = ovl40u_vp1.obj
USER_OBJ = ovlusr.obj
LINK32_OBJS=ovl30u.obj ovl40u.obj ovl50u.obj ovl60u.obj \
ovl100u.obj ovl110u.obj ovl160u.obj ovl170u.obj \
$(MAT2D_OBJ) $(MAT3D_OBJ) $(USER_OBJ)
$(TARGET).dll : $(LINK32_OBJS)
$(LINK32) $(LINK32_FLAGS) $(LINK32_OBJS) |
|