Skip to content

Commit

Permalink
fix: edit makefile
Browse files Browse the repository at this point in the history
Signed-off-by: chenchanglew <[email protected]>
  • Loading branch information
chenchanglew committed Nov 26, 2024
1 parent c7028ec commit dbe4851
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 50 deletions.
11 changes: 3 additions & 8 deletions samples/chaincode/secret-keeper-go/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,13 @@
# SPDX-License-Identifier: Apache-2.0

TOP = ../../..
include $(TOP)/ecc_go/build.mk

CC_NAME ?= fpc-secret-keeper-go

# Define paths for cmd subdirectories
NAIVE_PATH = cmd/naive/main.go
DEFAULT= cmd/naive/main.go
SKVS_PATH = cmd/skvs/main.go

# Target to build naive version
naive:
$(MAKE) build MAIN_GO_PATH=$(NAIVE_PATH)
MAIN_GO_PATH ?=$(DEFAULT)

# Target to build skvs version
skvs:
$(MAKE) build MAIN_GO_PATH=$(SKVS_PATH)
include $(TOP)/ecc_go/build.mk
42 changes: 0 additions & 42 deletions samples/chaincode/secret-keeper-go/main.go

This file was deleted.

0 comments on commit dbe4851

Please sign in to comment.