diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-08-15 08:39:14 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-08-15 08:39:14 +0000 |
commit | d6d2eed78ef765f321b33ebdd2bdd9901dd5a39f (patch) | |
tree | 2bcd67f28c8ef62cfe03022a3c8241e8950ec13e | |
parent | fa9a533d0baca7b4d6b582d3eb48ef3c5a2f7c84 (diff) | |
download | ruby-d6d2eed78ef765f321b33ebdd2bdd9901dd5a39f.tar.gz |
* common.mk (parse.{c,h}): creates in the dependency order.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | common.mk | 4 |
2 files changed, 6 insertions, 2 deletions
@@ -1,3 +1,7 @@ +Fri Aug 15 17:39:05 2008 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * common.mk (parse.{c,h}): creates in the dependency order. + Fri Aug 15 16:59:30 2008 Nobuyoshi Nakada <nobu@ruby-lang.org> * vm_core.h (exec_event_hooks): skips RubyVM::FrozenCore. @@ -393,10 +393,10 @@ parse.h {$(VPATH)}parse.h: {$(VPATH)}parse.c {$(srcdir)}.y.c: $(YACC) -d $(YFLAGS) -o y.tab.c $(<:\\=/) - sed -e "/^#/s!y\.tab\.h!$(@:.c=.h)!" y.tab.h > $(@:.c=.h).new - @$(MV) $(@:.c=.h).new $(@:.c=.h) sed -f $(srcdir)/tool/ytab.sed -e "/^#/s!y\.tab\.c!$@!" y.tab.c > $@.new @$(MV) $@.new $@ + sed -e "/^#/s!y\.tab\.h!$(@:.c=.h)!" y.tab.h > $(@:.c=.h).new + @$(IFCHANGE) $(@:.c=.h) $(@:.c=.h).new @$(RM) y.tab.c y.tab.h acosh.$(OBJEXT): {$(VPATH)}acosh.c |