makefile

来自「PC/104扩展模块DIAMOND-MM-16-AT驱动程序」· 代码 · 共 35 行

TXT
35
字号
# 
# 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=\
DSCADAutoCal/DSCADAutoCal \
DSCADSample/DSCADSample \
DSCADSampleInt/DSCADSampleInt \
DSCADScan/DSCADScan \
DSCADScanInt/DSCADScanInt \
DSCDAAutoCal/DSCDAAutoCal \
DSCDAConvert/DSCDAConvert \
DSCDAConvertScan/DSCDAConvertScan \
DSCDAConvertScanInt/DSCDAConvertScanInt \
DSCDIOFunctions/DSCDIOFunctions \
DSCSetUserInt/DSCSetUserInt \
DSCUserInt/DSCUserInt \
MeasureReferences/MeasureReferences

all: $(DEMOS)

clean:
	rm -f $(DEMOS)

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

⌨️ 快捷键说明

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