FloatImg/v4l2/Makefile

39 lines
969 B
Makefile
Raw Permalink Normal View History

2019-05-25 02:40:13 +11:00
2019-12-14 04:18:07 +11:00
COPT = -Wall -fpic -g -no-pie -DDEBUG_LEVEL=0
2019-05-25 02:40:13 +11:00
DEPS = ../floatimg.h ../libfloatimg.a Makefile
2020-03-08 01:24:31 +11:00
LOBJ = funcs.o v4l2_pr_structs.o
2019-05-25 02:40:13 +11:00
2020-03-08 01:24:31 +11:00
all: grabvidseq t video-infos nc-camcontrol
2019-07-01 02:47:17 +11:00
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-08-11 03:37:52 +11:00
rgb2fimg.o: rgb2fimg.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-09-17 22:14:33 +11:00
grabvidseq: grabvidseq.c ${DEPS} rgb2fimg.o
2020-07-24 23:04:54 +11:00
gcc ${COPT} $< rgb2fimg.o ../libfloatimg.a -lpnglite -lz -lm \
2020-08-24 02:21:10 +11:00
-lcfitsio -lv4l2 -ltiff -o $@
2019-07-21 22:36:14 +11:00
video-infos: video-infos.c Makefile funcs.o v4l2_pr_structs.o
2020-03-08 01:24:31 +11:00
gcc -Wall -g $< ${LOBJ} ../libfloatimg.a -o $@
2019-07-21 22:36:14 +11:00
2020-03-08 01:24:31 +11:00
nc-camcontrol: nc-camcontrol.c Makefile funcs.o v4l2_pr_structs.o
2020-08-07 07:30:40 +11:00
gcc -Wall -g $< ${LOBJ} ../libfloatimg.a -lcurses -o $@
2019-07-21 22:36:14 +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-25 20:56:56 +11:00