22 lines
382 B
Makefile
22 lines
382 B
Makefile
|
|
|
|
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 $@
|
|
|
|
# ---------------
|
|
# external things
|
|
|
|
capture: capture.c Makefile
|
|
gcc -Wall -g $< -o $@
|
|
|
|
v4l2grab: v4l2grab.c Makefile
|
|
gcc -Wall -g $< -lv4l2 -o $@
|
|
|
|
|