diff options
author | pommicket <pommicket@gmail.com> | 2023-01-11 23:07:44 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-01-11 23:07:44 -0500 |
commit | dc1e9a3566927fe71bd254f8486be9eb99650783 (patch) | |
tree | f1ba1d9a64b392803375b1c19f7a8390e9c88188 /Makefile | |
parent | 0c102146685ad0707ddb7e2f8ea1166782c1e76d (diff) |
switch to ninja now that we strip ../ from build errors
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -12,12 +12,12 @@ INSTALL_BIN_DIR=/usr/bin debug-build: ted compile_commands.json ted: debug/ted cp debug/ted . -compile_commands.json: debug/compile_commands.json +compile_commands.json: debug/ted 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 .. - $(MAKE) -C debug + cd debug && cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=1 -DCMAKE_BUILD_TYPE=Debug -GNinja .. + ninja -C debug release: *.[ch] libpcre2-32.a $(CC) main.c -o ted $(RELEASE_CFLAGS) $(LIBS) release_debug: *.[ch] libpcre2-32.a |