git clone https://github.com/laulandn/sdl2macos9.git
(Yes, same tree for MacOS 7/8/9 also)
cd sdl2macos9/SDL-main
(Don't use configure, uses gcc from AmigaPorts or elsewhere)
make -fMakefile.amigaos3
cd test; make -fMakefile.amigaos3
Try out testcopyrenderex, testsprite2, teststreaming etc on...