fix makefile, and change main_cc() to create_main()