makefile

来自「arm9 Linux下基于摄像头的物体移动检测程序,可以用在门禁上,当有人经过时」· 代码 · 共 60 行

TXT
60
字号
############################### CamDetect Makefile##############################CC=gccSERVFLAGS= -O2 -DLINUX $(WARNINGS)SERVLIBS= -lpthread -Lxyssl -lxyssl#WARNINGS = -Wall \#           -Wundef -Wpointer-arith -Wbad-function-cast \#           -Wcast-align -Wwrite-strings -Wstrict-prototypes \#           -Wmissing-prototypes -Wmissing-declarations \#           -Wnested-externs -Winline -Wcast-qual -W \#           -Wno-unused#           -WunusedOBJSERVER=	encoder.o	huffman.o	marker.o \			quant.o		spcav4l.o	utils.o	\			camdetect.o		all:		camdetectclean:	@echo "Cleaning up directory."	rm -f *.a *.o camdetect  core *~ log errlogcamdetect: $(OBJSERVER)	gcc $(SERVFLAGS) -o camdetect $(OBJSERVER) $(SERVLIBS)		spcav4l.o:	spcav4l.c spcav4l.h		$(CC) $(SERVFLAGS) -c -o $@ $<		utils.o:	utils.c utils.h		$(CC) $(SERVFLAGS) -c -o $@ $<				encoder.o:	encoder.c encoder.h		$(CC) $(SERVFLAGS) -c -o $@ $<		huffman.o:	huffman.c huffman.h		$(CC) $(SERVFLAGS) -c -o $@ $<		marker.o:	marker.c marker.h		$(CC) $(SERVFLAGS) -c -o $@ $<		quant.o:	quant.c quant.h		$(CC) $(SERVFLAGS) -c -o $@ $<camdetect.o:	CamDetect.c		$(CC) -Ixyssl $(SERVFLAGS) -c -o $@ $<

⌨️ 快捷键说明

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