add Makefiles to enable autmatic compiling