From 84e4425ad81c698ba17015f21c3e278391ed7bdb Mon Sep 17 00:00:00 2001 From: Gabriel mermelstein Date: Fri, 14 Feb 2025 14:04:10 +0200 Subject: [PATCH] chore: adding makefile targets --- waku/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/waku/Makefile b/waku/Makefile index ce412bb..ce51036 100644 --- a/waku/Makefile +++ b/waku/Makefile @@ -5,7 +5,7 @@ THIRD_PARTY_DIR := ../third_party NWAKU_REPO := https://github.com/waku-org/nwaku NWAKU_DIR := $(THIRD_PARTY_DIR)/nwaku -.PHONY: all clean prepare build +.PHONY: all clean prepare build-libwaku build # Default target all: build @@ -22,12 +22,14 @@ prepare: else \ echo "nwaku repository already exists."; \ fi - + +# Build libwaku +build-libwaku: prepare @echo "Building libwaku..." @cd $(NWAKU_DIR) && make libwaku # Build Waku Go Bindings -build: prepare +build: build-libwaku @echo "Building Waku Go Bindings..." go build ./...