aboutsummaryrefslogtreecommitdiffhomepage
path: root/example/examplePlugin/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'example/examplePlugin/Makefile')
-rw-r--r--example/examplePlugin/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/example/examplePlugin/Makefile b/example/examplePlugin/Makefile
new file mode 100644
index 00000000..3ccc2930
--- /dev/null
+++ b/example/examplePlugin/Makefile
@@ -0,0 +1,8 @@
+# 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:
+ 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}" -std=c++23
+clean:
+ rm ./examplePlugin.so