Building with SDL on OS X (yes again :)

I’ve seen this come up a few times in the list archives, but none
really answered the question to my satisfaction. is the most
recent I saw.

The SDL apps I’ve seen use sdl-config output directly for building, but
the SDL Framework (not the Fink package) doesn’t install sdl-config at
all. It seems like it really should:
sdl-config --cflags -> -I%{prefix}/SDL.framework/Headers
sdl-config --libs -> -framework SDL -framework Cocoa -framework OpenGL
(where %{prefix} is e.g. /Library/Frameworks)

That would certainly help me a lot with netpanzer