makefile

来自「Diamond公司Emm8串口模块官方实例」· 代码 · 共 23 行

TXT
23
字号
# 
# Makefile for Linux and QNX
#  
# For other operating systems see the build files in these subdirectories.
# Linux and QNX users just type "make" in this directory to build all 
# the demo programs for this board.
#

LIB=-L/usr/local/dscud5 -L/opt/dscud5 -ldscud5 -pthread -lm
INC=-I/usr/local/dscud5 -I/opt/dscud5

DEMOS=\
DSCDIOFunctions/DSCDIOFunctions

all: $(DEMOS)

clean:
	rm -f $(DEMOS)

$(DEMOS):
	( gcc -o $@ $@.c $(LIB) $(INC) )

⌨️ 快捷键说明

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