ruby-changes:7081
From: nobu <ko1@a...>
Date: Thu, 14 Aug 2008 11:45:31 +0900 (JST)
Subject: [ruby-changes:7081] Ruby:r18599 (trunk): * common.mk (parse.h): workaround for nmake.
nobu 2008-08-14 11:45:11 +0900 (Thu, 14 Aug 2008) New Revision: 18599 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=18599 Log: * common.mk (parse.h): workaround for nmake. Modified files: trunk/ChangeLog trunk/bcc32/Makefile.sub trunk/common.mk trunk/win32/Makefile.sub Index: ChangeLog =================================================================== --- ChangeLog (revision 18598) +++ ChangeLog (revision 18599) @@ -1,3 +1,7 @@ +Thu Aug 14 11:45:09 2008 Nobuyoshi Nakada <nobu@r...> + + * common.mk (parse.h): workaround for nmake. + Thu Aug 14 06:09:12 2008 Koichi Sasada <ko1@a...> * thread.c (rb_thread_execute_interrupts): switch event Index: common.mk =================================================================== --- common.mk (revision 18598) +++ common.mk (revision 18599) @@ -390,10 +390,10 @@ 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 Index: win32/Makefile.sub =================================================================== --- win32/Makefile.sub (revision 18598) +++ win32/Makefile.sub (revision 18599) @@ -58,7 +58,6 @@ !endif !if !defined(YACC) YACC = bison -YFLAGS = -o y.tab.c !endif AR = lib -nologo PURIFY = Index: bcc32/Makefile.sub =================================================================== --- bcc32/Makefile.sub (revision 18598) +++ bcc32/Makefile.sub (revision 18599) @@ -59,7 +59,6 @@ !endif !ifndef YACC YACC = bison -YFLAGS = -o y.tab.c !endif !ifndef AR AR = tlib -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/