From b0c2cdd85d51690dc3f6cf237f4f90cc7db2ab5b Mon Sep 17 00:00:00 2001 From: Alexander Courtis Date: Tue, 22 Feb 2022 16:48:23 +1100 Subject: [PATCH] release 1.4.0 --- config.mk | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/config.mk b/config.mk index 34928d0..dfb7af8 100644 --- a/config.mk +++ b/config.mk @@ -1,4 +1,4 @@ -VERSION ?= "1.4.1-SNAPSHOT" +VERSION ?= "1.4.0" PREFIX ?= /usr/local PREFIX_ETC ?= /usr/local @@ -16,8 +16,10 @@ CXXFLAGS += $(COMPFLAGS) -std=gnu++17 LDFLAGS += -LDLIBS += -lwayland-client -lyaml-cpp -linput -ludev -lstdc++ +PKGS = wayland-client yaml-cpp libinput libudev +CFLAGS += $(foreach p,$(PKGS),$(shell pkg-config --cflags $(p))) +LDLIBS += $(foreach p,$(PKGS),$(shell pkg-config --libs $(p))) -CC = gcc -CXX = g++ +CC ?= gcc +CXX ?= g++