summaryrefslogtreecommitdiff
path: root/ext/rbconfig
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-03-09 03:31:53 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-03-09 03:31:53 (GMT)
commitf861c4d40e27fa30298aa874a6682f8a9462c5e0 (patch)
treec138fec812cb38f9ab8ebab19d6f3c14efc0235f /ext/rbconfig
parentc56edb9a59488f5efb6b6cbe02ac9db10bc0e6d3 (diff)
rbconfig/sizeof: nmake VPATH
* ext/rbconfig/sizeof/depend: prepend VPATH for out-of-place build using nmake. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/rbconfig')
-rw-r--r--ext/rbconfig/sizeof/depend10
1 files changed, 6 insertions, 4 deletions
diff --git a/ext/rbconfig/sizeof/depend b/ext/rbconfig/sizeof/depend
index 5dbe492..5fa99ad 100644
--- a/ext/rbconfig/sizeof/depend
+++ b/ext/rbconfig/sizeof/depend
@@ -1,15 +1,17 @@
-limits.c: $(top_srcdir)/tool/generic_erb.rb $(top_srcdir)/template/limits.c.tmpl
+# sources
+
+{$(VPATH)}limits.c: $(top_srcdir)/tool/generic_erb.rb $(top_srcdir)/template/limits.c.tmpl
$(Q) $(RUBY) $(top_srcdir)/tool/generic_erb.rb --output=$@ \
$(top_srcdir)/template/limits.c.tmpl \
-sizes.c: $(top_srcdir)/tool/generic_erb.rb \
+{$(VPATH)}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
$(Q) $(RUBY) $(top_srcdir)/tool/generic_erb.rb --output=$@ \
$(top_srcdir)/template/sizes.c.tmpl \
- $(top_srcdir)/configure.in \
- $(top_srcdir)/ext/rbconfig/sizeof/extconf.rb
+ $(top_srcdir)/configure.in \
+ $(top_srcdir)/ext/rbconfig/sizeof/extconf.rb
# AUTOGENERATED DEPENDENCIES START
sizes.o: $(RUBY_EXTCONF_H)