sulami / FrankenWM

🖼️ Fast dynamic tiling X11 window manager
https://bbs.archlinux.org/viewtopic.php?id=189060
Other
263 stars 34 forks source link

How can I run this on FreeBSD? #123

Open ghost opened 3 years ago

ghost commented 3 years ago

Hi, I’m running FreeBSD and am wondering how to get this to compile on there.

Does anyone have the Makefile needed for FreeBSD?

sulami commented 2 years ago

deezdeezNUTZ @.***> writes:

Hi, I’m running FreeBSD and am wondering how to get this to compile on there.

Does anyone have the Makefile needed for FreeBSD?

You should be able to use either GNU make, or adapt the build commands in the Makefile. There's actually not much to building it, it's mostly just

gcc -c -std=c99 -pedantic -Wall -Wextra -I. -I. pkg-config --cflags xcb xcb-aux xcb-icccm xcb-keysyms xcb-ewmh frankenwm.c gcc -o frankenwm frankenwm.o -lc -lX11 pkg-config --libs xcb xcb-aux xcb-icccm xcb-keysyms xcb-ewmh

(pulled directly from the Makefile, untested)

You might be able to build it with LLVM as well, though I haven't tried, and the flags required definitely differ.