change Makefile and main file