aboutsummaryrefslogtreecommitdiff
path: root/tests/cavp-tests/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cavp-tests/Makefile')
-rw-r--r--tests/cavp-tests/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/cavp-tests/Makefile b/tests/cavp-tests/Makefile
index 7d5ac47..2de46f8 100644
--- a/tests/cavp-tests/Makefile
+++ b/tests/cavp-tests/Makefile
@@ -1,8 +1,11 @@
-CFLAGS=-W -Wall -Wextra -Werror -pedantic -std=c11 -O3 -march=native -mtune=native
+# backend (0 to auto-detect)
+BACKEND ?= 0
+
+CFLAGS=-W -Wall -Wextra -Werror -pedantic -std=c11 -O3 -march=native -mtune=native -DBACKEND=$(BACKEND)
APP=./cavp-tests
OBJS=sha3.o main.o
-.PHONY=all
+.PHONY=all clean
all: $(APP)