hyprland-plugins/hyprbars/Makefile
Jan Beich ac8ef7d0be make: drop --no-gnu-unique unsupported by -fuse-ld=bfd
Only Gold and LLD implement --no-gnu-unique but Makefile is too
primitive to figure out which toolchain is used by default.
2023-05-08 19:03:16 +00:00

20 lines
419 B
Makefile

CXXFLAGS = -shared -fPIC -g -std=c++2b -Wno-c++11-narrowing
INCLUDES = `pkg-config --cflags pixman-1 libdrm hyprland pangocairo`
LIBS = `pkg-config --libs pangocairo`
SRC = main.cpp barDeco.cpp
TARGET = hyprbars.so
all: $(TARGET)
$(TARGET): $(SRC)
$(CXX) $(CXXFLAGS) $(INCLUDES) $^ $> -o $@ $(LIBS)
clean:
rm ./$(TARGET)
meson-build:
mkdir -p build
cd build && meson .. && ninja
.PHONY: all meson-build clean