added input.cpp to Makefile