blob: d1106bfc11520faf0337955800fa8e037a4da3c1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
# CFLAGS=-std=c11 -W -Wall -Wextra -Wpedantic -Werror -g -O3 -march=native -mtune=native -DSHA3_BACKEND=0
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)
|