Created
October 15, 2020 13:49
-
-
Save shelajev/4fb1bc7b2a0fc118135bb8f7897a6320 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
COBCOPTS = -free -Q "-Wl,-rpath -Wl,$(MANAGED_LIBRARIES_PATH)/lib -Wl,-rpath -Wl,$(GRAALVM_LIBRARIES_PATH)" | |
# create dynamic library that can by loaded by Sulong | |
KECCAK.so: KECCAK.cob | |
cobc $(COBCOPTS) -m -fstatic-call -fno-gen-c-decl-static-call -G KECCAK-Wrapper-struct -lpolyglot-mock KECCAK.cob | |
TESTSHA3-256: TESTSHA3-256.cob KECCAK.so | |
cobc $(COBCOPTS) -x TESTSHA3-256.cob -lpolyglot-mock |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment