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 05ef516 commit 64828a7Copy full SHA for 64828a7
Makefile
@@ -1,10 +1,11 @@
1
.PHONY: all clean doc
2
3
all:
4
- dune build @install
+ @dune build @install
5
+ @make -C lib compile_commands.json
6
7
clean:
- dune clean
8
+ @dune clean
9
10
doc:
- dune build @doc
11
+ @dune build @doc
lib/Makefile
@@ -2,8 +2,12 @@ TARGETS = postgresql.cma libpostgresql_stubs.a
.PHONY: all clean
-all:
+all: compile_commands.json
@dune build $(TARGETS)
@dune clean
+ @rm -f compile_commands.json
+
12
+compile_commands.json: config/dune config/discover.ml postgresql_stubs.c
13
+ @dune rules | dune-compiledb
0 commit comments