[root@xx nginx-1.8.0]# make
make: *** No rule to make target `build', needed by `default'. Stop.
[root@xx nginx-1.8.0]#
The solution is to install openssl and ncurses components
yum install -y openssl*
yum -y install ncurses-devel
After make it succeeded.