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:
parent
710bab8480
commit
3bd61a71a0
2 changed files with 6 additions and 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.
|
||||
|
|
|
@ -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 $<
|
||||
|
|
Loading…
Reference in a new issue