mspawn.tc

来自「一个可以立即使用的嵌入式操作系统」· TC 代码 · 共 29 行

TC
29
字号
#
#  --- Version 2.2 90-10-12 16:25 ---
# 
#  CTask sample applications Make-File for Borland's make.
#  Application: MSPAWN.C
#
#    "reqopt" contains required options, and shouldn't normally be changed.
#    "optopt" lists optional optimization options, and may be changed.
#    "model"  is the memory model letter to use (all except Tiny & Huge).
#    "lib"    is the Turbo C library path
#
reqopt=-c -N- -a- -u -K
optopt=-d -G -O -k- -w -v -vi
lib=c:\tc\lib
!if !$d(model)
model=l
!endif
ctlib=ctasktc

.c.obj:
   tcc $(reqopt) $(optopt) -m$(model) $*.c

mspawn.exe:     mspawn.obj  ctsuptc$(model).lib $(ctlib).lib
   tlink /m /l /v $(lib)\c0$(model) $*,$*,$*,ctsuptc$(model) $(ctlib) $(lib)\c$(model)

mspawn.obj:     mspawn.c tsk.h tskconf.h


⌨️ 快捷键说明

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