example5_sfun.lmk

来自「包含<<MATLAB仿真技术与应用>>的配套例题和习题的」· LMK 代码 · 共 32 行

LMK
32
字号
CC     = "d:\matlab6p1\sys\lcc\bin\lcc.exe"
LD     = "d:\matlab6p1\sys\lcc\bin\lcclnk.exe"
LIBCMD = "d:\matlab6p1\sys\lcc\bin\lcclib.exe"
CFLAGS = -c -Zp8 -DMATLAB_MEX_FILE -noregistrylookup
LDFLAGS = -s -dll -L"d:\matlab6p1\sys\lcc\lib"
LIBFLAGS = 

OBJECTS = \
	"example5_sfun.obj"\
	"example5_sfun_registry.obj"\
	"example5_sfun_c1.obj"\
	"lccstub.obj"\
	"d:\matlab6p1\sys\lcc\mex\lccdef.def"\
	"d:\matlab6p1\stateflow\c\debugger\lib\win32\sfc_debuglcc.lib"\
	"d:\matlab6p1\stateflow\c\mex\lib\win32\sfc_mexlcc.lib"\
	"d:\matlab6p1\sys\lcc\mex\matlab.lib"\
	"d:\matlab6p1\sys\lcc\mex\libmx.lib"\

INCLUDE_PATH= -I"d:\matlab6p1\sys\lcc\include"  -I"d:\matlab6p1\extern\include"  -I"d:\matlab6p1\simulink\include"  -I"d:\matlab6p1\stateflow\c\mex\include"  -I"d:\matlab6p1\stateflow\c\debugger\include"  -I"e:\matlab仿真技术与高级应用\光盘\第三章\sfprj\build\example5\sfun\src"  -I"e:\matlab仿真技术与高级应用\光盘\第三章" 
 

example5_sfun.dll : $(MAKEFILE) $(OBJECTS)
	$(LD) $(LDFLAGS) -o example5_sfun.dll @example5_sfun.lmko
example5_sfun.obj :	"example5_sfun.c"
	$(CC) $(CFLAGS) $(INCLUDE_PATH) "example5_sfun.c"
example5_sfun_registry.obj :	"example5_sfun_registry.c"
	$(CC) $(CFLAGS) $(INCLUDE_PATH) "example5_sfun_registry.c"
example5_sfun_c1.obj :	"example5_sfun_c1.c"
	$(CC) $(CFLAGS) $(INCLUDE_PATH) "example5_sfun_c1.c"
lccstub.obj :	"d:\matlab6p1\sys\lcc\mex\lccstub.c"
	$(CC) $(CFLAGS) $(INCLUDE_PATH) "d:\matlab6p1\sys\lcc\mex\lccstub.c"

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?