FloatImg/Fonderie/craplist2h.awk

16 lines
288 B
Awk
Executable File

#!/usr/bin/awk -f
BEGIN {
print "// -----------------------------------"
print "// generated file, do not edit by hand !"
print "// -----------------------------------"
}
{
printf "#define CR_%s (%d)\n", $2, $1
}
END {
print "// generated file, do not edit by hand !"
}