diff options
Diffstat (limited to 'examples/01-shake128/Makefile')
-rw-r--r-- | examples/01-shake128/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/examples/01-shake128/Makefile b/examples/01-shake128/Makefile index f5080cd..bbe1395 100644 --- a/examples/01-shake128/Makefile +++ b/examples/01-shake128/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=./shake128-example OBJS=sha3.o main.o -.PHONY=all +.PHONY=all clean all: $(APP) |