From 998aee43fb8118cf44b58494ad27aedeb202cac1 Mon Sep 17 00:00:00 2001 From: tTh Date: Wed, 5 Jun 2019 10:57:39 +0200 Subject: [PATCH] working on videograb --- build.sh | 1 + v4l2/Makefile | 6 +++--- v4l2/t.c | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/build.sh b/build.sh index 9baa234d..c5571b46 100755 --- a/build.sh +++ b/build.sh @@ -23,6 +23,7 @@ fi build lib build funcs build tools +build v4l2 # ------------------------------------------------------------------ diff --git a/v4l2/Makefile b/v4l2/Makefile index 183a7641..d8bcd21b 100644 --- a/v4l2/Makefile +++ b/v4l2/Makefile @@ -3,12 +3,12 @@ COPT = -Wall -fpic -g -DDEBUG_LEVEL=1 DEPS = ../floatimg.h ../libfloatimg.a Makefile -funcs.o: funcs.c funcs.h Makefile - gcc ${COPT} -c $< - t: t.c Makefile ${DEPS} funcs.o gcc ${COPT} $< funcs.o ../libfloatimg.a -o $@ +funcs.o: funcs.c funcs.h Makefile + gcc ${COPT} -c $< + # --------------- # external things diff --git a/v4l2/t.c b/v4l2/t.c index a368cb29..8e50e53d 100644 --- a/v4l2/t.c +++ b/v4l2/t.c @@ -9,7 +9,7 @@ #include #include "funcs.h" -#include "floatimg.h" +#include "../floatimg.h" int verbosity;