4
Fork 0

Built-in implementation of SHA-256 added

This commit is contained in:
R3ABM Artem 2016-08-03 15:35:53 +04:00
parent 9b20bcba2f
commit 37792d9beb
6 changed files with 214 additions and 11 deletions

View file

@ -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)\"