mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* common.mk (parse.h): workaround for nmake.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
81be10bd85
commit
0d8df88893
4 changed files with 6 additions and 4 deletions
|
@ -1,3 +1,7 @@
|
|||
Thu Aug 14 11:45:09 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* common.mk (parse.h): workaround for nmake.
|
||||
|
||||
Thu Aug 14 06:09:12 2008 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* thread.c (rb_thread_execute_interrupts): switch event
|
||||
|
|
|
@ -59,7 +59,6 @@ RC = brcc32
|
|||
!endif
|
||||
!ifndef YACC
|
||||
YACC = bison
|
||||
YFLAGS = -o y.tab.c
|
||||
!endif
|
||||
!ifndef AR
|
||||
AR = tlib
|
||||
|
|
|
@ -390,10 +390,10 @@ enc.mk: $(srcdir)/enc/make_encmake.rb $(srcdir)/enc/Makefile.in $(srcdir)/enc/de
|
|||
PHONY:
|
||||
|
||||
{$(VPATH)}parse.c: {$(VPATH)}parse.y $(srcdir)/tool/ytab.sed
|
||||
{$(VPATH)}parse.h: {$(VPATH)}parse.c
|
||||
parse.h {$(VPATH)}parse.h: {$(VPATH)}parse.c
|
||||
|
||||
{$(srcdir)}.y.c:
|
||||
$(YACC) -d $(YFLAGS) -o y.tab.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
|
||||
|
|
|
@ -58,7 +58,6 @@ CPP = $(CC) -E
|
|||
!endif
|
||||
!if !defined(YACC)
|
||||
YACC = bison
|
||||
YFLAGS = -o y.tab.c
|
||||
!endif
|
||||
AR = lib -nologo
|
||||
PURIFY =
|
||||
|
|
Loading…
Add table
Reference in a new issue