Compare commits
4 Commits
2637378bf0
...
9191d446d3
| Author | SHA1 | Date | |
|---|---|---|---|
| 9191d446d3 | |||
| f1c22bdf53 | |||
| 993ca0f2a1 | |||
| 77fadc2683 |
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,5 +1,4 @@
|
||||
Trash/
|
||||
cjson/
|
||||
cline_history/
|
||||
libsodium/
|
||||
monocypher-4.0.2/
|
||||
|
||||
15
Makefile
15
Makefile
@@ -43,6 +43,21 @@ default: $(STATIC_LIB) $(ARM64_STATIC_LIB)
|
||||
# Build all targets (static only)
|
||||
all: $(STATIC_LIB) $(ARM64_STATIC_LIB) examples
|
||||
|
||||
# Build secp256k1 for x86_64
|
||||
$(SECP256K1_LIB): secp256k1/configure
|
||||
@echo "Building secp256k1 for x86_64..."
|
||||
@cd secp256k1 && \
|
||||
if [ ! -f .libs/libsecp256k1.a ]; then \
|
||||
echo "Cleaning and configuring secp256k1..."; \
|
||||
make distclean >/dev/null 2>&1 || true; \
|
||||
./configure --enable-module-schnorrsig --enable-module-ecdh --enable-experimental --disable-shared --enable-static --with-pic; \
|
||||
echo "Building secp256k1 library..."; \
|
||||
make -j$(shell nproc 2>/dev/null || echo 4); \
|
||||
else \
|
||||
echo "secp256k1 library already exists, skipping build"; \
|
||||
fi
|
||||
@echo "x86_64 secp256k1 library built successfully"
|
||||
|
||||
# Static library - includes secp256k1 and OpenSSL objects for self-contained library
|
||||
$(STATIC_LIB): $(LIB_OBJECTS) $(SECP256K1_LIB)
|
||||
@echo "Creating self-contained static library: $@"
|
||||
|
||||
3191
cjson/cJSON.c
Normal file
3191
cjson/cJSON.c
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user