Open 99kaits opened 1 year ago
I don't know enough about BSD make to fix it myself lol, but I can try to help you fix it
For the backend error, you need to enable one or multiple of the backend variables for X11 or wayland with -DX11 or -DWAYLAND Also, for each of those backends they have their own dependencies which you can see here. It uses pkg-config to generate the CFLAGS for the library names.
If you do manage to fix, please feel free to PR it
ok, i've been trying for a couple hours now to fix this and have barely gotten anywhere. seriously considering switching build systems entirely as this project has clearly outgrown Make, the GNU makefile is barely comprehensible and i cant port it 1:1 to the BSD makefile because of the .cgen
sorcery going on
alright, ive added basic support for Xmake which should work on BSD variants
The BSD makefile is currently nonfunctional and the GNU one doesn't work on FreeBSD either for some unknown reason to me as I do not understand anything about GNU makefiles I tried to fix the BSD makefile but all that got me was linker errors so I gave up, I'm just not knowledgeable enough with makefiles to fix this