mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Clean intermediate files and debug info for each target
By replacing `ALLOBJS` suffix with intermediate file suffixes instead of roughly removing by wildcards. Made `cleanlibs` append `.dSYM` suffix for each word in `TARGET_SO`, not the end of the entire list.
This commit is contained in:
parent
8e3cb69a83
commit
0fb39ab1b9
7 changed files with 18 additions and 7 deletions
|
@ -469,6 +469,10 @@ benchmark/%: miniruby$(EXEEXT) update-benchmark-driver PHONY
|
|||
--executables="built-ruby::$(BENCH_RUBY) --disable-gem" \
|
||||
$(srcdir)/$@ $(BENCH_OPTS) $(OPTS)
|
||||
|
||||
clean-local:: TARGET_SO = $(PROGRAM) $(WPROGRAM) $(LIBRUBY_SO) $(STATIC_RUBY) miniruby goruby
|
||||
clean-local::
|
||||
-$(Q)$(RMALL) $(cleanlibs)
|
||||
|
||||
clean-srcs-ext::
|
||||
$(Q)$(RM) $(patsubst $(srcdir)/%,%,$(EXT_SRCS))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue