Split system dependent commands to clean modular-gc

This commit is contained in:
Nobuyoshi Nakada 2024-12-10 11:18:38 +09:00 committed by Nobuyoshi Nakada
parent ce2f398386
commit f12e2622c1
Notes: git 2024-12-10 03:32:05 +00:00
3 changed files with 15 additions and 6 deletions

View file

@ -1295,6 +1295,11 @@ ext/distclean gems/distclean ext/realclean gems/realclean::
do $(Q)(del %I & rmdir %~dpI)) || @
-$(Q)rmdir $(@D) 2> nul || @
gc/clean gc/distclean gc/realclean::
- for /D %G in (gc\*) do (pushd %G && $(MAKE) TARGET_SO_DIR=./ $(@F) & popd) || $(NULLCMD)
gc/distclean gc/realclean::
- for /D %G in (gc\*) do ($(RMDIR) %G) || $(NULLCMD)
clean-enc distclean-enc realclean-enc:
!if exist($(ENC_MK))
$(ECHO) $(@:-enc=ing) encodings