This commit is contained in:
Zakk
2024-04-05 21:16:13 -04:00
commit b6eef56607
7 changed files with 623 additions and 0 deletions

15
Makefile Normal file
View File

@@ -0,0 +1,15 @@
PLUGIN_NAME=hypreasymotion
INSTALL_LOCATION=${HOME}/.local/share/hyprload/plugins/bin
SOURCE_FILES=$(wildcard ./*.cpp)
all: $(PLUGIN_NAME).so
install: all
mkdir -p ${INSTALL_LOCATION}
cp $(PLUGIN_NAME).so ${INSTALL_LOCATION}
$(PLUGIN_NAME).so: $(SOURCE_FILES)
g++ -shared -Wall -fPIC --no-gnu-unique $(SOURCE_FILES) -g -DWLR_USE_UNSTABLE `pkg-config --cflags pixman-1 libdrm hyprland pangocairo` -std=c++23 -o $(PLUGIN_NAME).so
clean:
rm -f ./$(PLUGIN_NAME).so