[MLton-commit] r7420
Wesley Terpstra
wesley at mlton.org
Mon Feb 15 08:58:10 PST 2010
Another multiple target bug.
----------------------------------------------------------------------
U mlton/trunk/mlyacc/Makefile
----------------------------------------------------------------------
Modified: mlton/trunk/mlyacc/Makefile
===================================================================
--- mlton/trunk/mlyacc/Makefile 2010-02-15 16:55:35 UTC (rev 7419)
+++ mlton/trunk/mlyacc/Makefile 2010-02-15 16:58:09 UTC (rev 7420)
@@ -48,10 +48,10 @@
$(MLLEX) src/yacc.lex && \
chmod -w src/yacc.lex.sml
-src/yacc.grm.sig src/yacc.grm.sml: src/yacc.grm
- rm -f src/yacc.grm.* && \
- $(MLYACC) src/yacc.grm && \
- chmod -w src/yacc.grm.*
+src/%.grm.sig src/%.grm.sml: src/%.grm
+ rm -f $<.*
+ $(MLYACC) $<
+ chmod -w $<.*
doc/mlyacc.ps:
$(MAKE) -C doc mlyacc.ps
More information about the MLton-commit
mailing list