commit 7ab5836e80d64aa250bfd467a549c7f08245b8df parent 8a8d0aa9dac091d7788c44abcdbd7c7e5ec7ff72 Author: deurzen <m.deurzen@tum.de> Date: Sat, 4 Sep 2021 09:28:45 +0200 moves to spdlog external dependency Diffstat:
M | config.mk | | | 6 | ++++-- |
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/config.mk b/config.mk @@ -2,6 +2,8 @@ PROJECT = kranewm BAR = kranebar CLIENT = kranec +DEPENDENCIES = x11 xrandr xres libprocps spdlog + OBJDIR = obj SRCDIR = src @@ -34,8 +36,8 @@ OBJ_FILES := ${WINSYS_OBJ_FILES} ${X_DATA_OBJ_FILES} ${CORE_OBJ_FILES} DEPS = $(OBJ_FILES:%.o=%.d) SANFLAGS = -fsanitize=undefined -fsanitize=address -fsanitize-address-use-after-scope -CXXFLAGS = -std=c++20 -I./spdlog/include -LDFLAGS = `pkg-config --libs x11 xrandr xres libprocps` -pthread +CXXFLAGS = -std=c++20 `pkg-config --cflags ${DEPENDENCIES}` +LDFLAGS = `pkg-config --libs ${DEPENDENCIES}` -pthread DEBUG_CXXFLAGS = -Wall -Wpedantic -Wextra -Wold-style-cast -g -DDEBUG ${SANFLAGS} DEBUG_LDFLAGS = ${SANFLAGS}