We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9b8eb1 commit 93d53ddCopy full SHA for 93d53dd
Makefile
@@ -6,6 +6,7 @@ all:
6
7
clean:
8
@dune clean
9
+ @make -C lib clean-compile-commands
10
11
doc:
12
@dune build @doc
lib/Makefile
@@ -1,13 +1,15 @@
1
TARGETS = postgresql.cma libpostgresql_stubs.a
2
3
-.PHONY: all clean
+.PHONY: all clean clean-compile-commands
4
5
all: compile_commands.json
@dune build $(TARGETS)
-clean:
+clean: clean-compile-commands
- @rm -f compile_commands.json
compile_commands.json: config/dune config/discover.ml postgresql_stubs.c
13
@dune rules | dune-compiledb
+
14
+clean-compile-commands:
15
+ @rm -f compile_commands.json
0 commit comments