From a1115a1b4758900790e9cb4f36a4dccf3e2149b8 Mon Sep 17 00:00:00 2001 From: usa Date: Thu, 7 Jan 2016 12:28:32 +0000 Subject: * ext/ripper/depend: Just like BSDmake, nmake also recognize the rule of ".eventids2.check" as inference one. but nmake is not cheated by macro. this fixes build failure introduced at r53448. see also the commit log of r53452. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/ripper/depend | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'ext/ripper') diff --git a/ext/ripper/depend b/ext/ripper/depend index 77fb223f87..4dc74f05e1 100644 --- a/ext/ripper/depend +++ b/ext/ripper/depend @@ -2,7 +2,6 @@ GEN = $(srcdir)/tools/generate.rb SRC1 = $(top_srcdir)/parse.y SRC2 = $(srcdir)/eventids2.c BISON = bison -EVENTIDS2_CHECK = .eventids2.check .SUFFIXES: .y @@ -25,9 +24,9 @@ ripper.y: $(srcdir)/tools/preproc.rb $(top_srcdir)/parse.y $(Q) $(RUBY) $(srcdir)/tools/preproc.rb ripper.tmp.y --output=$@ $(Q) $(RM) ripper.tmp.y -check: $(EVENTIDS2_CHECK) +check: .eventids2-check -$(EVENTIDS2_CHECK): $(GEN) $(SRC1) $(SRC2) +.eventids2-check: $(GEN) $(SRC1) $(SRC2) $(ECHO) checking $(SRC1) and $(SRC2) $(Q) $(RUBY) $(GEN) --mode=check --ids1src=$(SRC1) --ids2src=$(SRC2) @exit > $@ -- cgit v1.2.3