Built-in implementation of SHA-256 added
This commit is contained in:
parent
9b20bcba2f
commit
37792d9beb
6 changed files with 214 additions and 11 deletions
15
Makefile
15
Makefile
|
@ -8,19 +8,20 @@ DIRECTORIES =
|
|||
ifeq ($(OS), Linux)
|
||||
LIBRARIES += \
|
||||
rt
|
||||
DEPENDENCIES = \
|
||||
openssl
|
||||
# DEPENDENCIES = \
|
||||
# openssl
|
||||
endif
|
||||
|
||||
ifeq ($(OS), Darwin)
|
||||
CFLAGS += \
|
||||
-Wno-deprecated-declarations \
|
||||
-I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-migrator/sdk/MacOSX.sdk/usr/include/
|
||||
LIBRARIES += \
|
||||
crypto
|
||||
# CFLAGS += \
|
||||
# -Wno-deprecated-declarations \
|
||||
# -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-migrator/sdk/MacOSX.sdk/usr/include/
|
||||
# LIBRARIES += \
|
||||
# crypto
|
||||
endif
|
||||
|
||||
OBJECTS = \
|
||||
sha256.o \
|
||||
CronosAgent.o
|
||||
|
||||
FLAGS := -g -fno-omit-frame-pointer -O3 -MMD $(foreach directory, $(DIRECTORIES), -I$(directory)) -DBUILD=\"$(BUILD)\"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue