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/run.sh | 4 +--- RtspFace/demo/src/Makefile | 5 +++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/RtspFace/demo/src/Makefile b/RtspFace/demo/src/Makefile index 3703b7a..c3fb131 100644 --- a/RtspFace/demo/src/Makefile +++ b/RtspFace/demo/src/Makefile @@ -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 demo \ No newline at end of file + rm -f *.o demo +run : + $(shell sh test.sh) \ No newline at end of file diff --git a/RtspFace/demo/test.sh b/RtspFace/demo/src/run.sh similarity index 77% rename from RtspFace/demo/test.sh rename to RtspFace/demo/src/run.sh index 407b080..1c45db9 100644 --- a/RtspFace/demo/test.sh +++ b/RtspFace/demo/src/run.sh @@ -1,4 +1,2 @@ #!/bin/bash -cd /src/ -make -LD_LIBRARY_PATH=../libs/lib_dummy ./demo +LD_LIBRARY_PATH=../libs/lib_dummy ./demo \ No newline at end of file -- Gitblit v1.8.0