rewrite makefile, and remove luacode cache.