# NB - this is usually built as part of mjpegsource, this Makefile is only
# used for testing video_dump separately.

OBJS=video_dump.o util.o akispsdk_shim.o isp_device.o ion.o parse_conf.o isp_blocks.o blob.o
CC=arm-linux-gnueabi-gcc
CFLAGS=-Wall -I.
LDFLAGS=-static

video_dump: $(OBJS)
	$(CC) $(LDFLAGS) -o $@ $(OBJS)

clean:
	rm -f $(OBJS)

%.o: %.c
	$(CC) $(CFLAGS) -c -o $@ $<
