|
|
@ -11,11 +11,17 @@ staging-clean: |
|
|
|
static-clean: |
|
|
|
-rm -rf $(STATIC_DIR) |
|
|
|
|
|
|
|
cross-clean: |
|
|
|
-rm -rf $(CROSS_DIR) |
|
|
|
|
|
|
|
host-clean: |
|
|
|
-rm -rf $(HOST_DIR) |
|
|
|
|
|
|
|
all-clean: rebuild-clean staging-clean static-clean |
|
|
|
@echo -e "\n$(TERM_RED_BOLD)Any other key then CTRL-C will now remove CROSS_DIR and HOST_DIR$(TERM_NORMAL)" |
|
|
|
@read |
|
|
|
-rm -rf $(CROSS_DIR) |
|
|
|
-rm -rf $(HOST_DIR) |
|
|
|
make cross-clean |
|
|
|
make host-clean |
|
|
|
|
|
|
|
%-clean: |
|
|
|
cd $(D) && find . -name $(subst -clean,,$@) -delete |
|
|
|