hyprland-plugins/hyprwinwrap/Makefile
2025-09-25 17:17:00 +02:00

11 lines
333 B
Makefile

# Else exist specifically for clang
ifeq ($(CXX),g++)
EXTRA_FLAGS = --no-gnu-unique
else
EXTRA_FLAGS =
endif
all:
$(CXX) -shared -fPIC $(EXTRA_FLAGS) main.cpp -o hyprwinwrap.so -g `pkg-config --cflags pixman-1 libdrm hyprland pangocairo libinput libudev wayland-server xkbcommon` -std=c++2b -O2
clean:
rm ./hyprwinwrap.so