From 196123ee42cf3525953af28873832f2bba96acf2 Mon Sep 17 00:00:00 2001 From: Drath Date: Thu, 19 Mar 2026 00:34:08 +0100 Subject: [PATCH] this cmake was kinda ass --- Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 803be62..bd06390 100644 --- a/Makefile +++ b/Makefile @@ -3,23 +3,23 @@ BUILD_DIR ?= build +build: configure + cmake --build ${BUILD_DIR} -j + configure: cmake -S . -B ${BUILD_DIR} -build: - cmake --build ${BUILD_DIR} -j - clean: cmake --build $(BUILD_DIR) --target clean nuke: clean rm -rf $(BUILD_DIR) -install: +install: build mkdir -p ${HOME}/.local/bin install ${BUILD_DIR}/linuxSmartie ${HOME}/.local/bin -install_service: +install_service: install mkdir -p ~/.config/systemd/user cp linuxSmartie.service ~/.config/systemd/user/linuxSmartie.service systemctl --user daemon-reload