1# This requires a debug build to compile, so make sure to run "cargo build" from 2# the top of the repository beforehand (or "cargo build --release" if you want 3# to build a release version). 4# 5# Also requires the vicodec kernel module to be loaded with multiplanar support 6# (i.e. "modprobe vicodec multiplanar=1"). 7all: fwht_decode 8 9fwht_decode: fwht_decode.c 10 cc -Wall $< -o$@ ../../../target/debug/libv4l2r_ffi.a -I../../ -lpthread -ldl -lrt -lm 11 12fwht_decode_release: fwht_decode.c 13 cc -Wall -O3 $< -o$@ ../../../target/release/libv4l2r_ffi.a -I../../ -lpthread -ldl -lrt -lm 14 15clean: 16 rm -f fwht_decode fwht_decode_release 17