1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* Makefile.in (.y.c): simplify the rule.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
eban 2004-12-06 10:42:49 +00:00
parent 710bab8480
commit 3bd61a71a0
2 changed files with 6 additions and 4 deletions

View file

@ -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> Mon Dec 6 17:49:30 2004 NAKAMURA Usaku <usa@ruby-lang.org>
* eval.c (run_trap_eval): add prototype for Microsoft compiler. * eval.c (run_trap_eval): add prototype for Microsoft compiler.

View file

@ -6,7 +6,7 @@ srcdir = @srcdir@
VPATH = $(srcdir):$(srcdir)/missing VPATH = $(srcdir):$(srcdir)/missing
CC = @CC@ CC = @CC@
YACC = bison -y YACC = bison
PURIFY = PURIFY =
AUTOCONF = autoconf AUTOCONF = autoconf
@SET_MAKE@ @SET_MAKE@
@ -158,9 +158,7 @@ lex.c: keywords
cp "$(srcdir)/$@" . cp "$(srcdir)/$@" .
.y.c: .y.c:
$(YACC) $(YFLAGS) $< $(YACC) $(YFLAGS) -o $@ $<
sed '/^#/s|y\.tab\.c|$@|' y.tab.c > $@
$(RM) y.tab.c
.c.@OBJEXT@: .c.@OBJEXT@:
$(CC) $(CFLAGS) $(CPPFLAGS) -c $< $(CC) $(CFLAGS) $(CPPFLAGS) -c $<