# compile with HYPRLAND_HEADERS= make all # make sure that the path above is to the root hl repo directory, NOT src/ # and that you have ran `make protocols` in the hl dir. all: g++ -shared -fPIC --no-gnu-unique main.cpp borderDeco.cpp -o borders-plus-plus.so -g -I "/usr/include/pixman-1" -I "/usr/include/libdrm" -I "${HYPRLAND_HEADERS}" -I "${HYPRLAND_HEADERS}/subprojects/wlroots/include" -I "${HYPRLAND_HEADERS}/subprojects/wlroots/include" -I "${HYPRLAND_HEADERS}/subprojects/wlroots/build/include" -std=c++23 clean: rm ./borders-plus-plus.so