do.sh 407 B

12345
  1. #!/usr/bin/env sh
  2. cc=$(which clang-3.6||which gcc-4.9||which clang||||which gcc)
  3. so=$(test -f /etc/asl.conf && printf dylib|| printf so)
  4. $cc "-Dinline=__attribute__((__always_inline__))" -O3 -march=native -std=c11 -Wextra -Wpedantic -Wall -dynamic -shared keccak-tiny.c -o libkeccak-tiny.$so
  5. $cc -Os -march=native -std=c11 -Wextra -Wpedantic -Wall -dynamic -shared keccak-tiny.c -o libkeccak-tiny-small.$so