supports old c standard and creates usable makefile