Compare commits

..

2 Commits

Author SHA1 Message Date
phyto
51190aa1c4 making 'mkfimg' more quiet 2019-06-30 17:50:34 +02:00
phyto
f30d66eeb3 small bug in v4l2 makefile 2019-06-30 17:47:17 +02:00
2 changed files with 4 additions and 2 deletions

View File

@ -20,14 +20,14 @@ if (4 != argc) {
}
fname = argv[1];
width = atoi(argv[2]); height = atoi(argv[3]);
fprintf(stderr, "making %s %d x %d\n", fname, width, height);
fprintf(stderr, "making %s %d x %d\n", fname, width, height);
foo = fimg_create(&fimg, width, height, 3);
if (foo) {
fprintf(stderr, "create floatimg -> %d\n", foo);
exit(1);
}
fimg_describe(&fimg, "just a black flimg");
// fimg_describe(&fimg, "just a black flimg");
fimg_clear(&fimg);
foo = fimg_dump_to_file(&fimg, fname, 0);

View File

@ -3,6 +3,8 @@
COPT = -Wall -fpic -g -DDEBUG_LEVEL=1
DEPS = ../floatimg.h ../libfloatimg.a Makefile
all: grabvidseq t
t: t.c Makefile ${DEPS} funcs.o
gcc ${COPT} $< funcs.o ../libfloatimg.a -o $@