diff options
author | Paul Duncan <pabs@pablotron.org> | 2024-05-26 15:15:20 -0400 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2024-05-26 15:15:20 -0400 |
commit | 1544f849c5fd17a9a405987a2ebc7381a3c74758 (patch) | |
tree | 13648d63352bbb8763a26916dc14394e9b42f58c /tests/avx2/Makefile | |
parent | 06d3f4b8926d3db30bd4883caf98e5dbed6c43db (diff) | |
download | sha3-1544f849c5fd17a9a405987a2ebc7381a3c74758.tar.bz2 sha3-1544f849c5fd17a9a405987a2ebc7381a3c74758.zip |
add tests/avx2
Diffstat (limited to 'tests/avx2/Makefile')
-rw-r--r-- | tests/avx2/Makefile | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/avx2/Makefile b/tests/avx2/Makefile new file mode 100644 index 0000000..a30cbc9 --- /dev/null +++ b/tests/avx2/Makefile @@ -0,0 +1,19 @@ +CFLAGS=-std=c11 -W -Wall -Wextra -Wpedantic -Werror -g -O3 -march=native -mtune=native +APP=./avx2 +OBJS=main.o + +.PHONY=all test clean + +test: all + $(APP) + +all: $(APP) + +$(APP): $(OBJS) + $(CC) -o $(APP) $(CFLAGS) $(OBJS) + +%.o: %.c + $(CC) -c $(CFLAGS) $< + +clean: + $(RM) -f $(APP) $(OBJS) |