代码拉取完成,页面将自动刷新
##############################
# spcaview Makefile
##############################
INSTALLROOT=$(PWD)
CC=gcc
CPP=g++
INSTALL=install
APP_BINARY=luvcview
BIN=/usr/local/bin
SDLLIBS = $(shell sdl-config --libs)
SDLFLAGS = $(shell sdl-config --cflags)
#LIBX11FLAGS= -I/usr/X11R6/include -L/usr/X11R6/lib
VERSION = 0.2.4
#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
# -Wunused
CFLAGS += -DUSE_SDL -O2 -DLINUX -DVERSION=\"$(VERSION)\" -I$(SDLFLAGS) $(WARNINGS)
CPPFLAGS = $(CFLAGS)
OBJECTS= luvcview.o color.o utils.o v4l2uvc.o gui.o avilib.o
all: luvcview
clean:
@echo "Cleaning up directory."
rm -f *.a *.o $(APP_BINARY) core *~ log errlog *.avi
# Applications:
luvcview: $(OBJECTS)
$(CC) $(CFLAGS) $(OBJECTS) $(X11_LIB) $(XPM_LIB)\
$(MATH_LIB) \
$(SDLLIBS)\
-o $(APP_BINARY)
chmod 755 $(APP_BINARY)
install: luvcview
$(INSTALL) -s -m 755 -g root -o root $(APP_BINARY) $(BIN)
rm -f $(BIN)/uvcview
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。