I remember seeing in the past a program that would take any file and generate a C array representing that file as output; it would prevent distribution of a separate file in
hexdump -v -e '16/1 "0x%x," "\n"'
would generate a C like array from stdin, but there is no declaration, no braces or good formatting.