FloatImg4PythonBinding/Fonderie/craplist2h.awk

16 lines
288 B
Awk
Raw Normal View History

2020-12-29 16:40:26 +01:00
#!/usr/bin/awk -f
BEGIN {
2020-12-30 14:42:44 +01:00
print "// -----------------------------------"
2020-12-29 16:40:26 +01:00
print "// generated file, do not edit by hand !"
2020-12-30 14:42:44 +01:00
print "// -----------------------------------"
2020-12-29 16:40:26 +01:00
}
{
2020-12-30 14:42:44 +01:00
printf "#define CR_%s (%d)\n", $2, $1
2020-12-29 16:40:26 +01:00
}
END {
print "// generated file, do not edit by hand !"
}