Skip to content

Commit

Permalink
"make clean" also removes compile_commands.json
Browse files Browse the repository at this point in the history
  • Loading branch information
c4rlo committed May 6, 2024
1 parent 5468998 commit 3bab15a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ $(foreach mode,$(modes),$(eval $(call template,$(mode))))
all: $(modes)

clean:
$(RM) -r $(build_dirs)
$(RM) -r $(build_dirs) compile_commands.json

compile_commands.json: Makefile $(cppfiles)
bear -- $(MAKE) -B debug
Expand Down

0 comments on commit 3bab15a

Please sign in to comment.