Files
hyprland-plugins/hyprscrolling/Makefile

15 lines
396 B
Makefile

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