diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 .. |