Skip to content

Commit dca2e20

Browse files
committed
fix: edit makefile
Signed-off-by: chenchanglew <[email protected]>
1 parent 6a4e817 commit dca2e20

File tree

2 files changed

+3
-50
lines changed

2 files changed

+3
-50
lines changed

samples/chaincode/secret-keeper-go/Makefile

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,13 @@
44
# SPDX-License-Identifier: Apache-2.0
55

66
TOP = ../../..
7-
include $(TOP)/ecc_go/build.mk
87

98
CC_NAME ?= fpc-secret-keeper-go
109

1110
# Define paths for cmd subdirectories
12-
NAIVE_PATH = cmd/naive/main.go
11+
DEFAULT= cmd/naive/main.go
1312
SKVS_PATH = cmd/skvs/main.go
1413

15-
# Target to build naive version
16-
naive:
17-
$(MAKE) build ECC_MAIN_FILES=$(NAIVE_PATH)
14+
ECC_MAIN_FILES ?=$(DEFAULT)
1815

19-
# Target to build skvs version
20-
skvs:
21-
$(MAKE) build ECC_MAIN_FILES=$(SKVS_PATH)
16+
include $(TOP)/ecc_go/build.mk

samples/chaincode/secret-keeper-go/main.go

Lines changed: 0 additions & 42 deletions
This file was deleted.

0 commit comments

Comments
 (0)