ruby/ext/-test-/cxxanyargs/depend

14 строки
368 B
Plaintext

$(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