Add to Makefile some flags, add losted prototypes