From 77122cd5d7d07747ba2e084d3c3deff66979946f Mon Sep 17 00:00:00 2001 From: gabrielmer <101006718+gabrielmer@users.noreply.github.com> Date: Fri, 14 Feb 2025 14:20:49 +0200 Subject: [PATCH] chore: adding makefile targets (#34) --- 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 ./...