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
2021-11-21 16:21:18 +09:00

13 lines
368 B
Text

$(TARGET_SO) $(STATIC_LIB): $(FAILURES:.cpp=.failed)
.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" \
-e "File.write(t, err)" $@ $(MAKE) $(*F).o
# AUTOGENERATED DEPENDENCIES START
# AUTOGENERATED DEPENDENCIES END