diff options
author | Uros Majstorovic <majstor@majstor.org> | 2018-01-19 18:38:03 +0100 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2018-01-19 18:38:03 +0100 |
commit | 0c1673e7f853ebea35f1c1b9c14b5e6a834741d6 (patch) | |
tree | f5e728ec7f223bf24e593e7651b8f29819d10d1e /code | |
parent | d2719ccc8912246f2118a47afef48e73e82ebe28 (diff) |
pine64 test updated
Diffstat (limited to 'code')
-rw-r--r-- | code/test/vid/Makefile | 6 | ||||
-rw-r--r-- | code/test/vid/client.c | 6 |
2 files changed, 7 insertions, 5 deletions
diff --git a/code/test/vid/Makefile b/code/test/vid/Makefile index 4ba7b35..dfae43e 100644 --- a/code/test/vid/Makefile +++ b/code/test/vid/Makefile @@ -1,6 +1,8 @@ +include ../../ecp/Makefile.platform + LIBVPX_HOME=/opt/my/libvpx -CFLAGS=-D_V4L2_KERNEL_ -I/usr/src/linux-headers-$(uname -r) -I$(LIBVPX_HOME) -I/opt/local/include/SDL2 -I../../core -I../../vconn -I../../util -LDFLAGS=-L$(LIBVPX_HOME) -L/opt/local/lib +CFLAGS=$(CFLAGS_PL) -D_V4L2_KERNEL_ -I/usr/src/linux-headers-$(uname -r) -I$(LIBVPX_HOME) -I/opt/local/include/SDL2 -I../../ecp -I../../util -Wno-int-to-void-pointer-cast +LDFLAGS=$(LDFLAGS_PL) -L$(LIBVPX_HOME) -L/opt/local/lib dep=../../ecp/build-posix/*.a ../../util/libecputil.a ../init.o all: client cap diff --git a/code/test/vid/client.c b/code/test/vid/client.c index 98e95b2..692efd9 100644 --- a/code/test/vid/client.c +++ b/code/test/vid/client.c @@ -3,14 +3,14 @@ #include <unistd.h> #include <stdlib.h> -#include "core.h" -#include "util.h" - #include "vpx/vpx_decoder.h" #include "vpx/vp8cx.h" #include "tools.h" #include "display.h" +#include "core.h" +#include "util.h" + #define CTYPE_TEST 0 #define MTYPE_MSG 8 |