PJ: sluff add_up_frames.
PJ: rename random and srandom to avoid conflicts with stdlib.

Same as Watcom's LCG.
PJ: add CMake file.

Disabling function prototype warnings initially.