2019-11-22 04:39:39 -05:00
|
|
|
$(TARGET_SO) $(STATIC_LIB): $(FAILURES:.cpp=.failed)
|
2019-09-19 09:09:43 -04:00
|
|
|
|
2019-11-22 04:39:39 -05:00
|
|
|
.SUFFIXES: .failed
|
|
|
|
|
|
|
|
.cpp.failed:
|
2019-09-20 03:55:16 -04:00
|
|
|
$(Q)$(RUBY) -rfileutils \
|
2019-09-20 04:05:52 -04:00
|
|
|
-e "t = ARGV.shift" \
|
|
|
|
-e "err = IO.popen(ARGV, err:[:child, :out], &:read)" \
|
2020-06-23 01:51:28 -04:00
|
|
|
-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
|
2019-09-19 09:09:43 -04:00
|
|
|
|
2019-09-07 04:48:02 -04:00
|
|
|
# AUTOGENERATED DEPENDENCIES START
|
|
|
|
# AUTOGENERATED DEPENDENCIES END
|