Add the .mly and .mll files as dependencies of the generated .ml
authorKim Nguyễn <kn@lri.fr>
Sun, 18 Aug 2013 16:49:58 +0000 (18:49 +0200)
committerKim Nguyễn <kn@lri.fr>
Sun, 18 Aug 2013 16:49:58 +0000 (18:49 +0200)
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