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. 🤷
🍵 