diff options
Diffstat (limited to 'code/test')
-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 |