aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2024-05-08 17:03:17 -0400
committerPaul Duncan <pabs@pablotron.org>2024-05-08 17:03:17 -0400
commitb55d14bbe2f5d93b92ab8e37d8a2376ed5cb1f11 (patch)
tree70b13921ec1e66fe719f923f31eacfb0a9dbd42f /Makefile
parent255c5fcfec7b1296c4ba764ce72d14f9dc25dea9 (diff)
downloadsha3-b55d14bbe2f5d93b92ab8e37d8a2376ed5cb1f11.tar.bz2
sha3-b55d14bbe2f5d93b92ab8e37d8a2376ed5cb1f11.zip
s/SHA3_BACKEND/BACKEND/g
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index bdaf13e..07030a0 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,8 @@
# backend (0 to auto-detect)
-SHA3_BACKEND ?= 0
+BACKEND ?= 0
# compiler flags used for sample application and shared library
-CFLAGS=-W -Wall -Wextra -Werror -pedantic -std=c11 -fPIC -O3 -march=native -mtune=native -DSHA3_BACKEND=$(SHA3_BACKEND)
+CFLAGS=-W -Wall -Wextra -Werror -pedantic -std=c11 -fPIC -O3 -march=native -mtune=native -DBACKEND=$(BACKEND)
# sample application
APP=./sha3
@@ -13,7 +13,7 @@ LIB=libsha3.so
LIB_OBJS=sha3.o
# test app (test suite and sanitizers)
-TEST_CFLAGS=-g -fsanitize=address,pointer-compare,pointer-subtract,undefined,leak -W -Wall -Wextra -Werror -pedantic -std=c11 -march=native -mtune=native -DSHA3_BACKEND=$(SHA3_BACKEND)
+TEST_CFLAGS=-g -fsanitize=address,pointer-compare,pointer-subtract,undefined,leak -W -Wall -Wextra -Werror -pedantic -std=c11 -march=native -mtune=native -DBACKEND=$(BACKEND)
TEST_APP=./test-sha3
.PHONY=test all