summaryrefslogtreecommitdiff
blob: f65959dfb4ac81e3d7ad815e27774ed8f95bf9eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Makefile.OCaml: fswatch.cmi depends on ubase/prefs.cmi.

  The dependency is needed to compile unison
  in parallel.

Reference: https://github.com/bcpierce00/unison/pull/100

diff --git a/Makefile.OCaml b/Makefile.OCaml
index 21610ce..84fe7ad 100644
--- a/Makefile.OCaml
+++ b/Makefile.OCaml
@@ -426,6 +426,8 @@ win32rc/unison.res.lib: win32rc/unison.res
 	@echo "$(CAMLC): $< ---> $@"
 	$(CAMLC) $(CAMLFLAGS) -c $(CWD)/$<
 
+fswatch.cmi : ubase/prefs.cmi
+
 %.cmo: %.ml
 	@echo "$(OCAMLC): $< ---> $@"
 	$(OCAMLC) $(CAMLFLAGS) -c $(CWD)/$<