chore: improving makefile

This commit is contained in:
Gabriel mermelstein 2025-03-04 17:27:11 +02:00
parent 4736680e65
commit 95c7500361
No known key found for this signature in database
GPG Key ID: 82B8134785FEAE0D

View File

@ -14,11 +14,12 @@ all: build
prepare:
@echo "Creating third_party directory..."
@mkdir -p $(THIRD_PARTY_DIR)
@echo "Cloning nwaku repository..."
@if [ ! -d "$(NWAKU_DIR)" ]; then \
cd $(THIRD_PARTY_DIR) && \
git clone $(NWAKU_REPO); \
git clone $(NWAKU_REPO) && \
cd $(NWAKU_DIR) && \
make update; \
else \
echo "nwaku repository already exists."; \
fi