re3/src/extras/shaders/makeinc.sh

6 lines
94 B
Bash

#!sh
for i in *cso; do
(echo -n 'static '
xxd -i $i | grep -v '_len = ') > ${i%cso}inc
done