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

📄 makefile

📁 几个应用程序的C语言源代码
💻
字号:
# makefile for voice.exe and meter.exe
# Bruce Eckel, Revolution2 Real-Time Consulting.

# Change these two paths for your particular installation:
# path for standard include files:
INCLUDE = \turboc
# path for libraries:
LIB = \turboc
# memory model:
MEM = s

# The following rule tells "make" how to create a .obj file
# from a .c file:
.c.obj:
	tcc -c -m$(MEM) -f -I$(INCLUDE) $*.c

# The main rule -- this will be invoked if you simply type "make":
voice.exe: voice.obj capture.obj display.obj
	tcc -L$(LIB) -m$(MEM) voice.obj capture.obj display.obj \
	    graphics.lib

# If you type "make meter.exe" the following rule will generate
# a program called CAPTURE.EXE which will test your AD1000
# board by turning it into a simple voltmeter, so you can
# compare the readings with a DVM.
meter.exe:
	tcc -c -m$(MEM) -f -I$(INCLUDE) -DTEST_BOARD capture.c
	tcc -L$(LIB) -m$(MEM) capture.obj
	ren capture.exe meter.exe
	del capture.obj

# These are the dependencies.  When any of the files in the
# dependency list change, the .obj file is re-made according to
# the ".c.obj" rule:
voice.obj : voice.c capture.h display.h
capture.obj : capture.c capture.h
display.obj : display.c display.h

⌨️ 快捷键说明

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