diff options
author | Uros Majstorovic <majstor@majstor.org> | 2017-08-22 05:46:13 +0200 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2017-08-22 05:46:13 +0200 |
commit | a3f0e09379759e4cfb79e1d5c7d7ac752728fe5f (patch) | |
tree | feba5d13801c8054016e4549ef97fba50e9d8461 /code/test/vid/Makefile | |
parent | 680922c97ca94e832e75b20f5aa22a00a6a80420 (diff) |
added video test
Diffstat (limited to 'code/test/vid/Makefile')
-rw-r--r-- | code/test/vid/Makefile | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/code/test/vid/Makefile b/code/test/vid/Makefile new file mode 100644 index 0000000..757429d --- /dev/null +++ b/code/test/vid/Makefile @@ -0,0 +1,17 @@ +LIBVPX_HOME=../libvpx +CFLAGS=-D_V4L2_KERNEL_ -I/usr/src/linux-headers-$(uname -r) -I$(LIBVPX_HOME) +LDFLAGS=-L$(LIBVPX_HOME) +deps=$(LIBVPX_HOME)/ivfenc.c.o $(LIBVPX_HOME)/video_writer.c.o + +all: cap + +%.o: %.c + $(CC) $(CFLAGS) -c $< + +cap: cap.o enc.o tools.o + $(CC) -o $@ $< enc.o tools.o $(deps) -lvpx -lm -pthread $(LDFLAGS) + +clean: + rm -f *.o + rm -f cap + |