From 6d53a8b7ffd06d9726103803eb69d94a333ae0a5 Mon Sep 17 00:00:00 2001 From: Bernhard Schommer Date: Wed, 25 Feb 2015 10:38:30 +0100 Subject: Updated the recdepend tool to avoid printing of ./ at the begining and printing duplicated -I flags. --- Makefile.extr | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Makefile.extr') diff --git a/Makefile.extr b/Makefile.extr index 3299cea9..372f5e32 100644 --- a/Makefile.extr +++ b/Makefile.extr @@ -166,11 +166,13 @@ cleansource: tools/recdepend: tools/recdepend.ml ocamlopt -o tools/recdepend unix.cmxa tools/recdepend.ml +RECDEPEND=tools/recdepend + depend: $(GENERATED) tools/recdepend @echo "Analyzing OCaml dependencies" - @tools/recdepend $(DIRS) -o .depend.extr + @$(RECDEPEND) $(DIRS) -o .depend.extr ifneq ($(strip $(DIRS_P4)),) - @tools/recdepend -use-ocamlfind $(BITSTRING) $(INCLUDES) $(DIRS_P4) >> .depend.extr + @$(RECDEPEND) -use-ocamlfind $(BITSTRING) $(INCLUDES) $(DIRS_P4) >> .depend.extr endif -- cgit