From e0c7efb3817ee545c5be5caebc0aceb9594f65aa Mon Sep 17 00:00:00 2001 From: pans <pans@454eff88-639b-444f-9e54-f578c98de674> Date: 星期三, 28 十二月 2016 14:20:58 +0800 Subject: [PATCH] --- RtspFace/demo/src/Makefile | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/RtspFace/demo/src/Makefile b/RtspFace/demo/src/Makefile index 3613c47..c3fb131 100644 --- a/RtspFace/demo/src/Makefile +++ b/RtspFace/demo/src/Makefile @@ -1,8 +1,8 @@ 锘緾XX=g++ -CXXFLAGS:=-I/root/demo/include +CXXFLAGS:=-I../include CXXFLAGS+=$(shell pkg-config --cflags opencv) -LDFLAGS+=-L/root/demo/libs/linux-x86_64/lib_dummy +LDFLAGS+=-L../libs/lib_dummy LIBS:=-lcvface_api -lpthread LIBS+=$(shell pkg-config --libs opencv) @@ -11,7 +11,6 @@ demo: $(OBJ) $(CXX) $(CXXFLAGS) $(LDFLAGS) -o demo $(OBJ) $(LIBS) - main.o : test.cpp $(CXX) $(CXXFLAGS) $(LDFLAGS) -c test.cpp -o main.o faceAPI.o : faceAPI.h @@ -21,4 +20,6 @@ .PHONY: clean clean: - rm -f *.o \ No newline at end of file + rm -f *.o demo +run : + $(shell sh test.sh) \ No newline at end of file -- Gitblit v1.8.0