summaryrefslogtreecommitdiff
path: root/code/test
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2018-01-19 19:42:08 +0100
committerUros Majstorovic <majstor@majstor.org>2018-01-19 19:42:08 +0100
commitbe2683928a65faece609a12f8245604b30df2c10 (patch)
tree951d955d5367bcab582cb2205f442c7027928b7e /code/test
parent47f832524a0b9103c22cbcc05fd7c9882968d147 (diff)
pine64 vid test update
Diffstat (limited to 'code/test')
-rw-r--r--code/test/vid/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/code/test/vid/Makefile b/code/test/vid/Makefile
index 1d47f59..acfa897 100644
--- a/code/test/vid/Makefile
+++ b/code/test/vid/Makefile
@@ -2,7 +2,7 @@ include ../../ecp/Makefile.platform
LIBVPX_HOME=/opt/my/libvpx
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
+LDFLAGS=$(LDFLAGS_PL) -L$(LIBVPX_HOME) -L/opt/local/lib
dep=../init_vconn.o ../../ecp/build-posix/*.a ../../util/libecputil.a
all: cap
@@ -11,7 +11,7 @@ all: cap
$(CC) $(CFLAGS) -c $<
cap: cap.o enc.o tools.o server.o
- $(CC) -o $@ $< -lm enc.o tools.o server.o $(dep) $(LDFLAGS) -lvpx
+ $(CC) -o $@ $< enc.o tools.o server.o $(dep) $(LDFLAGS) -lvpx -lm
client: client.o display.o tools.o
$(CC) -o $@ $< display.o tools.o $(dep) $(LDFLAGS) -lvpx -lSDL2