I have figured out how to use sdl2-config in make on OpenBSD:

SDL_CFLAGS != sdl2-config --cflags
SDL_LIBS != sdl2-config --libs

uxn's makefile had this instead:

SDL_CFLAGS := $(shell sdl2-config --cflags)
SDL_LIBS := $(shell sdl2-config --libs)

DuskOS had this:

SDL2_CONFIG ?= sdl2-config
And then later references to $(SDL2_CFLAGS) but idk where that variable is supposed to be set.

I assume those projects are doing the correct thing--my tinkering with makefiles began yesterday--but my change works as a quick-fix solution to have successful builds. 🤷

#OpenBSD #uxn #DuskOS

uxn2 builds with those changes but doesn't pass all the integrated tests. left seems to work but I'm not familiar enough with it to say if it's working as intended. (it took me several minutes to figure out how to open a file from the directory, but once I did, I was able to make and save changes.)
Rebuilding neuwld, neuswc, and hevel allows me to launch hevel (and, fortunately, exit without having to shut down my computer) but even after installing havoc I can't get a terminal emulator to appear. Again, I assume this is because I'm using an AMD iGPU and/or Mesa built without Wayland support enabled. I'll shelve this for a little bit, though.