FloatImg/v4l2/Makefile
2019-06-05 10:57:39 +02:00

22 lines
403 B
Makefile

COPT = -Wall -fpic -g -DDEBUG_LEVEL=1
DEPS = ../floatimg.h ../libfloatimg.a Makefile
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
capture: capture.c Makefile
gcc -Wall -g $< -o $@
grabvidseq: grabvidseq.c Makefile
gcc -Wall -g $< ../libfloatimg.a -lv4l2 -o $@