Dear statatlists,

I'm new to Statalist, so any comment on the style of this post are welcome.

I'm trying to organize the code via Makefile, but when I run the makefile, it can't start stata-se to run the code. I saw online (https://www.stata.com/support/faqs/mac/advanced-topics/) that I should "add the path to the Stata executable in Stata's application bundle to your shell's PATH" but I don't know how to do it.

I consulted my friends in CS department and they told me to add a line "/Applications/Stata/StataSE.app/Contents/MacOS/" in /etc/paths. But after that, my Stata can't run symlinks anymore. So I guess there has to be a better way to "add the path to the Stata executable in Stata's application bundle to your shell's PATH". Is there any code I could run on Command Line to do this! I'm really new to all these so any suggestions are appreciated!

Thanks in advance.