diff options
author | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-12-06 10:42:49 +0000 |
---|---|---|
committer | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-12-06 10:42:49 +0000 |
commit | 3bd61a71a07d5ca96aaf3c34860a61e5527a6e78 (patch) | |
tree | c256d7a89a5d1ab022d702c2c8616c49e6e53533 | |
parent | 710bab848043a44c782677fefb11a694a146f0a2 (diff) | |
download | ruby-3bd61a71a07d5ca96aaf3c34860a61e5527a6e78.tar.gz |
* Makefile.in (.y.c): simplify the rule.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | Makefile.in | 6 |
2 files changed, 6 insertions, 4 deletions
@@ -1,3 +1,7 @@ +Mon Dec 6 19:40:40 2004 WATANABE Hirofumi <eban@ruby-lang.org> + + * Makefile.in (.y.c): simplify the rule. + Mon Dec 6 17:49:30 2004 NAKAMURA Usaku <usa@ruby-lang.org> * eval.c (run_trap_eval): add prototype for Microsoft compiler. diff --git a/Makefile.in b/Makefile.in index 21469a7fec..685b879dfc 100644 --- a/Makefile.in +++ b/Makefile.in @@ -6,7 +6,7 @@ srcdir = @srcdir@ VPATH = $(srcdir):$(srcdir)/missing CC = @CC@ -YACC = bison -y +YACC = bison PURIFY = AUTOCONF = autoconf @SET_MAKE@ @@ -158,9 +158,7 @@ lex.c: keywords cp "$(srcdir)/$@" . .y.c: - $(YACC) $(YFLAGS) $< - sed '/^#/s|y\.tab\.c|$@|' y.tab.c > $@ - $(RM) y.tab.c + $(YACC) $(YFLAGS) -o $@ $< .c.@OBJEXT@: $(CC) $(CFLAGS) $(CPPFLAGS) -c $< |