From a3f0e09379759e4cfb79e1d5c7d7ac752728fe5f Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Tue, 22 Aug 2017 05:46:13 +0200 Subject: added video test --- code/test/vid/Makefile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 code/test/vid/Makefile (limited to 'code/test/vid/Makefile') 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 + -- cgit v1.2.3