Newer
Older
libkcpp / mk / clean-rule.mk
Nomura Kei on 4 Jun 416 bytes first commit
# ------------------------------------------------------------------------------
#  clean ルール
# ------------------------------------------------------------------------------
.PHONY: clean
clean:
	@for subdir in $(SUBDIRS); do	\
		$(MAKE) clean -C $$subdir;	\
	done
ifneq ($(strip $(CLEAN_FILES)),)
	$(RM) -f $(CLEAN_FILES)
endif
ifneq ($(strip $(CLEAN_DIRS)),)
	$(RM) -rf $(addprefix ./,$(CLEAN_DIRS))
endif