Commit b2d7135c authored by Giuseppe Carboni's avatar Giuseppe Carboni
Browse files

Fixed issue with git clean removing the SlaLibrary symlink

parent 5491a0f3
Loading
Loading
Loading
Loading
+4 −8
Original line number Diff line number Diff line
@@ -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: