FloatImg/v4l2/Makefile

22 lines
403 B
Makefile
Raw Normal View History

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 $@
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