⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makefile.mak

📁 基于DOS系统下的多任务类库。Class DOS Thread provides a framework for writing DOS applications
💻 MAK
字号:
#---------------------------------------------------------------------------
#
#       MAKEFILE.MAK: makefile for DOS multitasking library.
#       Copyright (c) J.English 1993.
#       Author's address: je@unix.brighton.ac.uk
#
#       Permission is granted to use copy and distribute the
#       information contained in this file provided that this
#       copyright notice is retained intact and that any software
#       or other document incorporating this file or parts thereof
#       makes the source code for the library of which this file
#       is a part freely available.
#
#---------------------------------------------------------------------------

.AUTODEPEND
.SILENT

#----- Symbol definitions -----

DIR   = d:\borlandc                 # Borland C++ directory -- change to suit
MODEL = s                           # Memory model (s, m, l, c, h or t)
CC    = bcc -m$(MODEL) -I$(INC)\include -L$(LIB)\lib

#----- Default compilation rule -----

.cpp.obj:
    $(CC) -c $.

#----- Compilation rules -----

all: example1.exe example2.exe example3.exe example4.exe

example1.exe: example1.obj threads.obj
    $(CC) example1.obj threads.obj

example2.exe: example2.obj threads.obj
    $(CC) example2.obj threads.obj

example3.exe: example3.obj threads.obj
    $(CC) example3.obj threads.obj

example4.exe: example4.obj threads.obj
    $(CC) example4.obj threads.obj

example1.obj: example1.cpp
example2.obj: example2.cpp
example3.obj: example3.cpp
example4.obj: example4.cpp

#----- Other targets -----

clean:                              # clean up directory
    del *.obj

print:                              # print sources
    print *.doc *.mak *.h *.cpp

⌨️ 快捷键说明

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