2023-02-27 13:32:38 +01:00
|
|
|
# compile with HYPRLAND_HEADERS=<path_to_hl> 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:
|
2023-04-01 03:22:52 +02:00
|
|
|
g++ -shared -fPIC --no-gnu-unique main.cpp customLayout.cpp customDecoration.cpp -o examplePlugin.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
|
2023-02-27 13:32:38 +01:00
|
|
|
clean:
|
|
|
|
rm ./examplePlugin.so
|