1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/ext/-test-/cxxanyargs/depend

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
368 B
Text
Raw Normal View History

2019-11-22 04:39:39 -05:00
$(TARGET_SO) $(STATIC_LIB): $(FAILURES:.cpp=.failed)
2019-11-22 04:39:39 -05:00
.SUFFIXES: .failed
.cpp.failed:
$(Q)$(RUBY) -rfileutils \
-e "t = ARGV.shift" \
-e "err = IO.popen(ARGV, err:[:child, :out], &:read)" \
-e "abort err unless /rb_define_method/ =~ err.b" \
2019-11-22 04:39:39 -05:00
-e "File.write(t, err)" $@ $(MAKE) $(*F).o
# AUTOGENERATED DEPENDENCIES START
# AUTOGENERATED DEPENDENCIES END