blob: fc3d8e45d9e1948fa27f2d02f588d9d4c2a68b8b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$(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
|