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 | 0e775441a2baac4305165a6e6892337996978596 (patch) | |
| tree | 2bcd67f28c8ef62cfe03022a3c8241e8950ec13e | |
| parent | 21c65063c392200bd72a3119e6e7f4675ca65292 (diff) | |
| download | ruby-0e775441a2baac4305165a6e6892337996978596.tar.gz ruby-0e775441a2baac4305165a6e6892337996978596.tar.xz ruby-0e775441a2baac4305165a6e6892337996978596.zip | |
* common.mk (parse.{c,h}): creates in the dependency order.
git-svn-id: http://svn.ruby-lang.org/repos/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 |
