diff options
Diffstat (limited to 'tests/bench/Makefile')
-rw-r--r-- | tests/bench/Makefile | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/bench/Makefile b/tests/bench/Makefile new file mode 100644 index 0000000..3e08426 --- /dev/null +++ b/tests/bench/Makefile @@ -0,0 +1,16 @@ +CFLAGS=-std=c11 -W -Wall -Wextra -Wpedantic -Werror -g -O3 -march=native -mtune=native +APP=./bench +OBJS=sha3.o bench.o + +.PHONY=all test clean + +all: $(APP) + +$(APP): $(OBJS) + $(CC) -o $(APP) $(CFLAGS) $(OBJS) -lcpucycles -lm + +%.o: %.c + $(CC) -c $(CFLAGS) $< + +clean: + $(RM) -f $(APP) $(OBJS) |