$ ls -l axe
-rwxr-xr-x 1 root wheel 12830781 Mar 12 22:38 axe*
$ ldd axe
axe:
libthr.so.3 => /lib/libthr.so.3 (0xe2e74a1d000)
libc.so.7 => /lib/libc.so.7 (0xe2e74c27000)
libsys.so.7 => /lib/libsys.so.7 (0xe2e75de6000)
[vdso] (0xe2e7366b000) export HOMEBREW_NO_EMOJI=1
export HOMEBREW_NO_ENV_HINTS=1
export HOMEBREW_NO_INSTALL_CLEANUP=1
With the old OpenGL API you could do this in like 10 lines of code (probably even less with SGI's GL).
With the new/shader-based API, well... https://learnopengl.com/Getting-started/Hello-Triangle
Vulkan - I don't even want to know.