2019-11-22 12:39:39 +03:00
|
|
|
$(TARGET_SO) $(STATIC_LIB): $(FAILURES:.cpp=.failed)
|
2019-09-19 16:09:43 +03:00
|
|
|
|
2019-11-22 12:39:39 +03:00
|
|
|
.SUFFIXES: .failed
|
|
|
|
|
|
|
|
.cpp.failed:
|
2019-09-20 10:55:16 +03:00
|
|
|
$(Q)$(RUBY) -rfileutils \
|
2019-09-20 11:05:52 +03:00
|
|
|
-e "t = ARGV.shift" \
|
|
|
|
-e "err = IO.popen(ARGV, err:[:child, :out], &:read)" \
|
2020-06-23 08:51:28 +03:00
|
|
|
-e "abort err unless /rb_define_method/ =~ err.b" \
|
2019-11-22 12:39:39 +03:00
|
|
|
-e "File.write(t, err)" $@ $(MAKE) $(*F).o
|
2019-09-19 16:09:43 +03:00
|
|
|
|
2019-09-07 11:48:02 +03:00
|
|
|
# AUTOGENERATED DEPENDENCIES START
|
|
|
|
# AUTOGENERATED DEPENDENCIES END
|