2025-09-25 17:17:00 +02:00

12 lines
329 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 hyprfocus.so -g `pkg-config --cflags pixman-1 libdrm hyprland pangocairo libinput libudev wayland-server xkbcommon` -std=c++2b -O2
clean:
rm ./hyprfocus.so