mirror of
https://github.com/logos-storage/logos-storage-go-bindings.git
synced 2026-01-02 05:23:09 +00:00
adds make target to build the lib with debug API
This commit is contained in:
parent
be94580b23
commit
316d2bde6c
4
Makefile
4
Makefile
@ -23,6 +23,10 @@ libcodex:
|
||||
@echo "Building libcodex..."
|
||||
@$(MAKE) -C $(NIM_CODEX_DIR) libcodex
|
||||
|
||||
libcodex-with-debug-api:
|
||||
@echo "Building libcodex..."
|
||||
@$(MAKE) -C $(NIM_CODEX_DIR) libcodex CODEX_LIB_PARAMS="-d:codex_enable_api_debug_peers"
|
||||
|
||||
build:
|
||||
@echo "Building Codex Go Bindings..."
|
||||
CGO_ENABLED=1 CGO_CFLAGS="$(CGO_CFLAGS)" CGO_LDFLAGS="$(CGO_LDFLAGS)" go build -o codex-go ./codex
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user