infact TARGET_FOLDER is in makefile already, it has the default value /usr/lib/zsh/5.9/. but in different distros or different zsh version it in different location, such as me , it is in /usr/lib/x86_64-linux-gnu/zsh/5.8.
Fixed the title myself. Could you take a look at the Makefile? I'm 99% sure having sudo there is a bad idea. I'm not the best at writing these make scripts.
infact TARGET_FOLDER is in makefile already, it has the default value /usr/lib/zsh/5.9/. but in different distros or different zsh version it in different location, such as me , it is in /usr/lib/x86_64-linux-gnu/zsh/5.8.