Commit 6756d3eb authored by Michael Ott's avatar Michael Ott
Browse files

Improved make clean

parent 98e1f69b
......@@ -35,16 +35,15 @@ info:
@echo " make all"
@echo "Cleaning up... "
@$(foreach p,$(PROJECTS),make -C $(p) clean;)
@$(foreach p,$(PROJECTS),echo "Cleaning $(p)..." && make -C $(p) clean && echo;)
cleanall: clean
@cd $(DCDBDEPSPATH) && rm -f .prerequesites .extract-distfiles .download-distfiles
@cd $(DCDBDEPSPATH) && rm -rf mosquitto_build
@$(foreach f,$(DISTFILESPATHS),echo "Cleaning $(f)..." && rm -rf $(DCDBDEPSPATH)/$(f);)
@$(foreach f,$(DISTFILESPATHS),echo "Cleaning $(f)..." && rm -rf $(DCDBDEPSPATH)/$(f) && echo;)
@echo "Wiping..."
distclean: clean
@echo "Wiping dependencies..."
all: $(DCDBDEPSPATH)/.prerequesites
......@@ -104,6 +103,7 @@ $(DCDBDEPSPATH)/%/.dirstamp: $(DCDBDEPSPATH)/.download-distfiles
@touch $@
$(PROJECTS): $(DCDBDEPSPATH)/.prerequesites
@echo ""
@echo "Building $@..."
@$(MAKE) -C $@
@echo "Installing $@..."
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment