diff options
author | Mattias Andrée <maandree@kth.se> | 2023-07-02 22:09:07 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2023-07-02 22:09:07 +0200 |
commit | 31e4c2917b05f10b5f9bd5ce429dbf42a8346b6d (patch) | |
tree | 71cb3d8bb1e14c1f945061f3cfb9160861b65118 /unportable.mk | |
parent | Update link to libkeccak in DEPENDENCIES (diff) | |
download | sha3sum-1.2.3.tar.gz sha3sum-1.2.3.tar.bz2 sha3sum-1.2.3.tar.xz |
Make makefile portable1.2.3
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | unportable.mk | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/unportable.mk b/unportable.mk new file mode 100644 index 0000000..a732332 --- /dev/null +++ b/unportable.mk @@ -0,0 +1,11 @@ +keccak-%sum.c: + printf '%s\n' '#include "common.h"' 'KECCAK_MAIN($*)' > $@ + +sha3-%sum.c: + printf '%s\n' '#include "common.h"' 'SHA3_MAIN($*)' > $@ + +rawshake%sum.c: + printf '%s\n' '#include "common.h"' 'RAWSHAKE_MAIN($*)' > $@ + +shake%sum.c: + printf '%s\n' '#include "common.h"' 'SHAKE_MAIN($*)' > $@ |