2019-05-25 02:40:13 +11:00
|
|
|
|
|
|
|
|
|
|
|
COPT = -Wall -fpic -g -DDEBUG_LEVEL=1
|
|
|
|
DEPS = ../floatimg.h ../libfloatimg.a Makefile
|
|
|
|
|
2019-07-01 02:47:17 +11:00
|
|
|
all: grabvidseq t
|
|
|
|
|
2019-07-03 04:35:08 +11:00
|
|
|
t: t.c Makefile ${DEPS} funcs.o v4l2_pr_structs.o
|
|
|
|
gcc ${COPT} $< funcs.o v4l2_pr_structs.o ../libfloatimg.a -o $@
|
2019-05-25 02:40:13 +11:00
|
|
|
|
2019-06-05 19:57:39 +11:00
|
|
|
funcs.o: funcs.c funcs.h Makefile
|
|
|
|
gcc ${COPT} -c $<
|
|
|
|
|
2019-07-03 04:35:08 +11:00
|
|
|
v4l2_pr_structs.o: v4l2_pr_structs.c v4l2_pr_structs.h Makefile
|
|
|
|
gcc ${COPT} -c $<
|
|
|
|
|
2019-05-26 01:16:24 +11:00
|
|
|
# ---------------
|
|
|
|
# external things
|
2019-05-25 20:56:56 +11:00
|
|
|
|
|
|
|
capture: capture.c Makefile
|
2019-05-27 23:47:32 +11:00
|
|
|
gcc -Wall -g $< -o $@
|
|
|
|
|
2019-05-28 02:14:56 +11:00
|
|
|
grabvidseq: grabvidseq.c Makefile
|
2019-05-28 21:10:55 +11:00
|
|
|
gcc -Wall -g $< ../libfloatimg.a -lv4l2 -o $@
|
2019-05-27 23:47:32 +11:00
|
|
|
|
2019-05-25 20:56:56 +11:00
|
|
|
|