2019-05-25 02:40:13 +11:00
|
|
|
|
|
|
|
|
|
|
|
COPT = -Wall -fpic -g -DDEBUG_LEVEL=1
|
|
|
|
DEPS = ../floatimg.h ../libfloatimg.a Makefile
|
|
|
|
|
2019-05-26 01:16:24 +11:00
|
|
|
funcs.o: funcs.c funcs.h Makefile
|
|
|
|
gcc ${COPT} -c $<
|
2019-05-25 02:40:13 +11:00
|
|
|
|
2019-05-26 01:16:24 +11:00
|
|
|
t: t.c Makefile ${DEPS} funcs.o
|
|
|
|
gcc ${COPT} $< funcs.o ../libfloatimg.a -o $@
|
2019-05-25 02:40:13 +11:00
|
|
|
|
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 $@
|
|
|
|
|
|
|
|
v4l2grab: v4l2grab.c Makefile
|
|
|
|
gcc -Wall -g $< -lv4l2 -o $@
|
|
|
|
|
2019-05-25 20:56:56 +11:00
|
|
|
|