build: optimize Makefile
and fix infinite loop
#14000
Merged
Loading
Makefile
and fix infinite loop
#14000