diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-09-19 22:09:43 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-09-19 22:09:43 +0900 |
commit | e0c56b45a41f052223e23d222ca49c7e0225923e (patch) | |
tree | b14e034631ea5bac3fc8c47bcfb3784b1ca1cb4b /ext/-test-/cxxanyargs/depend | |
parent | a3daf8e49a36dc5501b020a882d611676a6ad264 (diff) |
Moved unmatch arity check to depend file
To substitute suffixes and VPATH for nmake.
Diffstat (limited to 'ext/-test-/cxxanyargs/depend')
-rw-r--r-- | ext/-test-/cxxanyargs/depend | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ext/-test-/cxxanyargs/depend b/ext/-test-/cxxanyargs/depend index 61649e1199..a68afb82d7 100644 --- a/ext/-test-/cxxanyargs/depend +++ b/ext/-test-/cxxanyargs/depend @@ -1,3 +1,11 @@ +$(DLLIB) $(STATIC_LIB): failure.failed + +failure.failed: failure.cpp cxxanyargs.o + $(Q)$(RUBY) -rfileutils \\ + -e "err = IO.popen(%[$(MAKE) failure.o], err:[:child, :out], &:read)" \\ + -e "abort err unless /rb_define_method/ =~ err" \\ + -e "FileUtils.touch(*ARGV)" $@ + # AUTOGENERATED DEPENDENCIES START cxxanyargs.o: $(RUBY_EXTCONF_H) cxxanyargs.o: $(arch_hdrdir)/ruby/config.h |