From: Kim Nguyễn Date: Sun, 18 Aug 2013 16:49:58 +0000 (+0200) Subject: Add the .mly and .mll files as dependencies of the generated .ml X-Git-Tag: v0.1~41 X-Git-Url: http://git.nguyen.vg/gitweb/?p=tatoo.git;a=commitdiff_plain;h=524e7cad6802c1c32160d69728889cfe734753a4 Add the .mly and .mll files as dependencies of the generated .ml --- diff --git a/Remakefile.in b/Remakefile.in index f8552fe..627f79c 100644 --- a/Remakefile.in +++ b/Remakefile.in @@ -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