aboutsummaryrefslogtreecommitdiffstats
path: root/unportable.mk
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2023-07-02 22:09:07 +0200
committerMattias Andrée <maandree@kth.se>2023-07-02 22:09:07 +0200
commit31e4c2917b05f10b5f9bd5ce429dbf42a8346b6d (patch)
tree71cb3d8bb1e14c1f945061f3cfb9160861b65118 /unportable.mk
parentUpdate link to libkeccak in DEPENDENCIES (diff)
downloadsha3sum-31e4c2917b05f10b5f9bd5ce429dbf42a8346b6d.tar.gz
sha3sum-31e4c2917b05f10b5f9bd5ce429dbf42a8346b6d.tar.bz2
sha3sum-31e4c2917b05f10b5f9bd5ce429dbf42a8346b6d.tar.xz
Make makefile portable1.2.3
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--unportable.mk11
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($*)' > $@