From 5e92dac7b8ff9d60bfa3dcc69c3f77663a01aea4 Mon Sep 17 00:00:00 2001 From: pommicket Date: Tue, 28 Feb 2023 14:13:06 -0500 Subject: new settings system seems to be working --- Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 63af6c6..718760d 100644 --- a/Makefile +++ b/Makefile @@ -11,10 +11,12 @@ LOCAL_DATA_DIR=/home/`logname`/.local/share/ted INSTALL_BIN_DIR=/usr/bin debug-build: ted compile_commands.json ted: debug/ted - @# note: doing cp would fail if `ted` is busy - cat debug/ted > ted + @# note: needed so cp doesn't fail if `ted` is busy + rm -f ted + cp debug/ted . compile_commands.json: debug/ted - cat debug/compile_commands.json > compile_commands.json + rm -f compile_commands.json + cp debug/compile_commands.json . debug/ted: *.[ch] libpcre2-32.a CMakeLists.txt mkdir -p debug cd debug && cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=1 -DCMAKE_BUILD_TYPE=Debug -GNinja .. -- cgit v1.2.3