From 11300a7e247eeb28c101f43a51d8dbfde0479eaa Mon Sep 17 00:00:00 2001 From: pommicket Date: Mon, 27 Feb 2023 12:51:15 -0500 Subject: better interaction between path-specific & lang-specific settings still needs more testing --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 5abdf63..63af6c6 100644 --- a/Makefile +++ b/Makefile @@ -11,9 +11,10 @@ LOCAL_DATA_DIR=/home/`logname`/.local/share/ted INSTALL_BIN_DIR=/usr/bin debug-build: ted compile_commands.json ted: debug/ted - cp debug/ted . + @# note: doing cp would fail if `ted` is busy + cat debug/ted > ted compile_commands.json: debug/ted - cp debug/compile_commands.json . + cat debug/compile_commands.json > 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