case `echo ${ngx_src##*.}` in
    cpp|cc|cxx)
        ngx_cc="$CXX $CXXFLAGS $ngx_compile_opt $ngx_use_pch \$(ALL_INCS)"
        ;;
    *)
        ngx_cc="\$(CC) $ngx_compile_opt \$(CFLAGS) $ngx_use_pch \$(ALL_INCS)"
        ;;
esac