mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
common.mk: source dependency for nmake
* common.mk (ext/rbconfig/sizeof/sizes.c): separate the dependency with VPATH and the command, get rid of weird VPATH behavior of nmake. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
184c7e660d
commit
655b18e914
2 changed files with 4 additions and 2 deletions
|
@ -886,8 +886,10 @@ $(srcdir)/ext/json/parser/parser.c: $(srcdir)/ext/json/parser/parser.rl
|
|||
$(Q) $(CHDIR) $(@D) && $(exec) $(MAKE) -f prereq.mk $(MFLAGS) \
|
||||
Q=$(Q) ECHO=$(ECHO) top_srcdir=../../.. srcdir=. VPATH=../../.. BASERUBY="$(BASERUBY)"
|
||||
|
||||
$(srcdir)/ext/rbconfig/sizeof/sizes.c: $(srcdir)/ext/rbconfig/sizeof/depend \
|
||||
{$(VPATH)}ext/rbconfig/sizeof/sizes.c: $(srcdir)/ext/rbconfig/sizeof/depend \
|
||||
$(srcdir)/tool/generic_erb.rb $(srcdir)/template/sizes.c.tmpl $(srcdir)/configure.in
|
||||
|
||||
ext/rbconfig/sizeof/sizes.c:
|
||||
$(ECHO) generating $@
|
||||
$(Q) $(CHDIR) $(@D) && \
|
||||
sed '/AUTOGENERATED/q;s#{.*}##' depend | \
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{$(VPATH)}sizes.c: $(top_srcdir)/tool/generic_erb.rb \
|
||||
sizes.c: $(top_srcdir)/tool/generic_erb.rb \
|
||||
$(top_srcdir)/template/sizes.c.tmpl \
|
||||
$(top_srcdir)/configure.in \
|
||||
$(top_srcdir)/ext/rbconfig/sizeof/extconf.rb
|
||||
|
|
Loading…
Reference in a new issue