summaryrefslogtreecommitdiff
path: root/code/test/vid/Makefile
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2017-09-09 15:36:21 +0200
committerUros Majstorovic <majstor@majstor.org>2017-09-09 15:36:21 +0200
commitd40fd9b1adab64182ce8af0b8e19cfc8a93171d7 (patch)
tree0cb83df16cb6f0625aa7ab60fe96f47be2cb75ab /code/test/vid/Makefile
parent55364a819692d63080d23e6dc30daf38f02f5524 (diff)
video streaming test updated; not tested
Diffstat (limited to 'code/test/vid/Makefile')
-rw-r--r--code/test/vid/Makefile15
1 files changed, 9 insertions, 6 deletions
diff --git a/code/test/vid/Makefile b/code/test/vid/Makefile
index 757429d..fbdbe15 100644
--- a/code/test/vid/Makefile
+++ b/code/test/vid/Makefile
@@ -1,17 +1,20 @@
LIBVPX_HOME=../libvpx
-CFLAGS=-D_V4L2_KERNEL_ -I/usr/src/linux-headers-$(uname -r) -I$(LIBVPX_HOME)
+CFLAGS=-D_V4L2_KERNEL_ -I/usr/src/linux-headers-$(uname -r) -I$(LIBVPX_HOME) -I../../core -I../../vconn -I../../util
LDFLAGS=-L$(LIBVPX_HOME)
-deps=$(LIBVPX_HOME)/ivfenc.c.o $(LIBVPX_HOME)/video_writer.c.o
+dep=../../core/libecpcore.a ../../core/crypto/libecpcr.a ../../core/htable/libecpht.a ../../core/posix/libecptr.a ../../core/posix/libecptm.a ../../vconn/libecpvconn.a ../../util/libecputil.a ../init.o
-all: cap
+all: client cap
%.o: %.c
$(CC) $(CFLAGS) -c $<
-cap: cap.o enc.o tools.o
- $(CC) -o $@ $< enc.o tools.o $(deps) -lvpx -lm -pthread $(LDFLAGS)
+cap: cap.o enc.o tools.o server.o
+ $(CC) -o $@ $< enc.o tools.o server.o -lvpx -lm -pthread $(dep) $(LDFLAGS)
+client: client.o tools.o
+ $(CC) -o $@ $< tools.o -lvpx -lm -pthread $(dep) $(LDFLAGS)
+
clean:
rm -f *.o
- rm -f cap
+ rm -f cap client