forked from tTh/FloatImg
35 lines
740 B
Makefile
35 lines
740 B
Makefile
|
|
|
|
COPT = -Wall -fpic -g -DDEBUG_LEVEL=1
|
|
DEPS = ../floatimg.h ../libfloatimg.a Makefile
|
|
|
|
all: grabvidseq t
|
|
|
|
t: t.c Makefile ${DEPS} funcs.o v4l2_pr_structs.o
|
|
gcc ${COPT} $< funcs.o v4l2_pr_structs.o ../libfloatimg.a -o $@
|
|
|
|
funcs.o: funcs.c funcs.h Makefile
|
|
gcc ${COPT} -c $<
|
|
|
|
rgb2fimg.o: rgb2fimg.c funcs.h Makefile
|
|
gcc ${COPT} -c $<
|
|
|
|
v4l2_pr_structs.o: v4l2_pr_structs.c v4l2_pr_structs.h Makefile
|
|
gcc ${COPT} -c $<
|
|
|
|
grabvidseq: grabvidseq.c Makefile rgb2fimg.o
|
|
gcc -Wall -g $< rgb2fimg.o ../libfloatimg.a -lv4l2 -o $@
|
|
|
|
video-infos: video-infos.c Makefile funcs.o v4l2_pr_structs.o
|
|
gcc -Wall -g $< funcs.o v4l2_pr_structs.o -o $@
|
|
|
|
|
|
# ---------------
|
|
# external things
|
|
|
|
capture: capture.c Makefile
|
|
gcc -Wall -g $< -o $@
|
|
|
|
|
|
|