correct prototypes
cleanup build make file