Skip to content
Snippets Groups Projects
Commit b2d7135c authored by Giuseppe Carboni's avatar Giuseppe Carboni
Browse files

Fixed issue with git clean removing the SlaLibrary symlink

parent 5491a0f3
No related branches found
No related tags found
No related merge requests found
......@@ -230,17 +230,13 @@ all:
$(MAKE) build-$${i}; \
done
# Clean target, calls clean_dist for each target inside the TARGETS variable. Can also be called with -j.
.PHONY: clean $(addprefix clean-,$(TARGETS))
clean: $(addprefix clean-,$(TARGETS))
# The following line dynamically declares all the make targets starting from the TARGETS variable
$(foreach t, $(TARGETS), $(eval $(call DeclareTarget,$(t))))
# This target removes all the .gitignore ignored files from the repository, effectively removing all the object, lib and bin directories, etc.
# It only works if discos was cloned via git
.PHONY: clean-repo
clean-repo:
@echo -n "Cleaning the repository from ignored files..."
-@git clean -fdX ..
@echo "done!"
# This target cleans all the INTROOT so that a clean build process can be executed again
.PHONY: clean-dist
clean-dist:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment