summaryrefslogtreecommitdiff
blob: 51d1ec1372b03c048c12ed53259cf33717a17183 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

in=$1
out=$2

(
cat <<EOF
#ifndef __INCLUDE_GUARD_CCS_H
#define __INCLUDE_GUARD_CCS_H

const char css[] =
EOF
sed -e 's:^:\t":' -e 's:$:\\n":' "${in}"
cat <<EOF
;
#endif
EOF
) > "${out}"