From 31e4c2917b05f10b5f9bd5ce429dbf42a8346b6d Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 2 Jul 2023 22:09:07 +0200 Subject: Make makefile portable MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- unportable.mk | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 unportable.mk (limited to 'unportable.mk') 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($*)' > $@ -- cgit v1.2.3-70-g09d2