mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
13 lines
368 B
Text
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
|