Add the .mly and .mll files as dependencies of the generated .ml
[tatoo.git] / Remakefile.in
index f8552fe..627f79c 100644 (file)
@@ -66,8 +66,10 @@ distclean: clean test_clean
 
 %.ml:
        if test -f $*.mly; then
+               $(REMAKE) $*.mly
                $(OCAMLYACC) $*.mly
        elif test -f $*.mll; then
+               $(REMAKE) $*.mll
                $(OCAMLLEX) $*.mll
        fi