summaryrefslogtreecommitdiff
path: root/code/test/vid/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'code/test/vid/Makefile')
-rw-r--r--code/test/vid/Makefile6
1 files changed, 4 insertions, 2 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