Updated Makefile

Changed meson and cmake paths. Put git clone of tomlplusplus in new target.
This commit is contained in:
Ethan Smith-Coss 2024-06-17 23:22:59 +01:00
parent 6033ec3c00
commit 1fe9c77818
Signed by: TheOnePath
GPG Key ID: 1D351CCC6D01F32B

View File

@ -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