Create makeheaders.c

imported from http://www.hwaci.com/sw/mkhdr/makeheaders.c