aboutsummaryrefslogtreecommitdiffhomepage
path: root/example/examplePlugin/Makefile
blob: 3ccc29305a5987df24416a47485d3bb66fac5556 (plain)
1
2
3
4
5
6
7
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