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"
clean:
@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;)
distclean:
@echo "Wiping..."
distclean: clean
@echo "Wiping dependencies..."
@rm -rf $(DCDBDEPSPATH)
all: $(DCDBDEPSPATH)/.prerequesites
......@@ -104,6 +103,7 @@ $(DCDBDEPSPATH)/%/.dirstamp: $(DCDBDEPSPATH)/.download-distfiles
@touch $@
$(PROJECTS): $(DCDBDEPSPATH)/.prerequesites
@echo ""
@echo "Building $@..."
@$(MAKE) -C $@
@echo "Installing $@..."
......
Markdown is supported
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