SDLTRS is a Radio Shack TRS-80 Model I/III/4/4P emulator for Macintosh OSX, Windows, and Linux. It has been ported from Tim Mann's excellent X-Windows UNIX emulator xtrs. Instead of using the X-Window system for graphics, it uses the portable SDL library.
Download and install Homebrew for macOS first.
brew install autoconf automake libtool llvm readline sdl2
should download and install the required packages to build SDLTRS. In the main directory of the source, execute the following commands:
./autogen.sh
./configure --enable-readline
make
This will build the executable binary.