Don't error make clean on missing submodule

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
This commit is contained in:
Jakub Sztandera 2019-07-23 00:25:35 +02:00
parent 978bd5c17e
commit 8b7378dcd9

View File

@ -47,11 +47,15 @@ build: $(BUILD_DEPS)
.PHONY: build .PHONY: build
clean: clean:
$(MAKE) -C $(BLS_PATH) clean
rm -rf $(CLEAN) rm -rf $(CLEAN)
-$(MAKE) -C $(BLS_PATH) clean
.PHONY: clean .PHONY: clean
dist-clean: dist-clean:
git clean -xdff git clean -xdff
git submodule deinit --all -f git submodule deinit --all -f
.PHONY: dist-clean .PHONY: dist-clean
print-%:
@echo $*=$($*)