examples: update plugin makefile

This commit is contained in:
vaxerski 2023-05-17 15:01:17 +01:00
parent ba714b3b71
commit 79b8576df9

View file

@ -3,6 +3,6 @@
# and that you have ran `make protocols` in the hl dir. # and that you have ran `make protocols` in the hl dir.
all: all:
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 $(CXX) -shared -fPIC --no-gnu-unique main.cpp customLayout.cpp customDecoration.cpp -o examplePlugin.so -g `pkg-config --cflags pixman-1 libdrm hyprland` -std=c++2b
clean: clean:
rm ./examplePlugin.so rm ./examplePlugin.so