summaryrefslogtreecommitdiff
path: root/code
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2018-01-19 19:38:38 +0100
committerUros Majstorovic <majstor@majstor.org>2018-01-19 19:38:38 +0100
commit8b3cf26b7f82ad7facc00e6ad6c117daa639a6b3 (patch)
treefa88c0ff842ecaa8a11715b8f40ac93dfa1d3d1b /code
parentfeb7b7b3cd7add1d0cc2a41207ee170b55584a9c (diff)
pine64 vid test update
Diffstat (limited to 'code')
-rw-r--r--code/test/vid/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/code/test/vid/Makefile b/code/test/vid/Makefile
index f4cd8bb..8444b6d 100644
--- a/code/test/vid/Makefile
+++ b/code/test/vid/Makefile
@@ -3,7 +3,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=-L$(LIBVPX_HOME) -L/opt/local/lib $(LDFLAGS_PL)
-dep=../../ecp/build-posix/*.a ../../util/libecputil.a ../init_vconn.o
+dep=../init_vconn.o ../../ecp/build-posix/*.a ../../util/libecputil.a
all: cap
@@ -11,10 +11,10 @@ all: cap
$(CC) $(CFLAGS) -c $<
cap: cap.o enc.o tools.o server.o
- $(CC) -o $@ $(LDFLAGS) -lvpx $< enc.o tools.o server.o $(dep)
+ $(CC) -o $@ $< enc.o tools.o server.o $(dep) $(LDFLAGS) -lvpx
client: client.o display.o tools.o
- $(CC) -o $@ $(LDFLAGS) -lvpx -lSDL2 $< display.o tools.o $(dep)
+ $(CC) -o $@ $< display.o tools.o $(dep) $(LDFLAGS) -lvpx -lSDL2
clean:
rm -f *.o