File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- . * .swp
2- .merlin
3- * .install
41_build
2+ lib /compile_commands \. json
Original file line number Diff line number Diff line change 11.PHONY : all clean doc
22
33all :
4- dune build @install
4+ @dune build @install
5+ @make -C lib compile_commands.json
56
67clean :
7- dune clean
8+ @dune clean
9+ @make -C lib clean-compile-commands
810
911doc :
10- dune build @doc
12+ @ dune build @doc
Original file line number Diff line number Diff line change 11TARGETS = sqlite3.cma libsqlite3_stubs.a
22
3- .PHONY : all clean
3+ .PHONY : all clean clean-compile-commands
44
5- all :
5+ all : compile_commands.json
66 @dune build $(TARGETS )
77
8- clean :
8+ clean : clean-compile-commands
99 @dune clean
10+
11+ compile_commands.json : config/dune config/discover.ml sqlite3_stubs.c
12+ @dune rules | dune-compiledb
13+
14+ clean-compile-commands :
15+ @rm -f compile_commands.json
You can’t perform that action at this time.
0 commit comments