From 1fe9c7781890fbe4fc79e3a3966fa48aefe1b177 Mon Sep 17 00:00:00 2001 From: TheOnePath Date: Mon, 17 Jun 2024 23:22:59 +0100 Subject: [PATCH] Updated Makefile Changed meson and cmake paths. Put git clone of tomlplusplus in new target. --- Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 39b6d85..48841a8 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ # Variables for build tools -CMAKE=/bin/cmake -MESON=/bin/meson +CMAKE=/usr/bin/cmake +MESON=/usr/bin/meson # Paths for installed apps BIN_SYSTEM_PATH=/usr/local/bin INC_SYSTEM_PATH=/usr/include @@ -81,10 +81,11 @@ $(__Wl_clipboard): ninja -C wl-clipboard/build # Build and install tomlplusplus if it's not on the system +tomlplusplus: + git clone https://github.com/marzer/tomlplusplus.git __Tomlplusplus = $(INC_SYSTEM_PATH)/toml++ $(__Tomlplusplus): @echo "Building and installing tomlplusplus..." - git clone https://github.com/marzer/tomlplusplus.git $(MESON) setup -C tomlplusplus build --buildtype=release ninja -C tomlplusplus/build sudo $(MESON) install tomlplusplus/build