aboutsummaryrefslogtreecommitdiff
path: root/tests/cavp-tests/Makefile
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2024-02-24 00:47:18 -0500
committerPaul Duncan <pabs@pablotron.org>2024-02-24 00:47:18 -0500
commit9c41faf9bd6fba0cc577d3786883926bf66b2ab0 (patch)
treecf82145eee812eb912d330039b7d30b769096485 /tests/cavp-tests/Makefile
parentd2a6b4d8d53d6b35e46e668c308ff30754ce6c1f (diff)
downloadsha3-9c41faf9bd6fba0cc577d3786883926bf66b2ab0.tar.bz2
sha3-9c41faf9bd6fba0cc577d3786883926bf66b2ab0.zip
add tests/cavp-tests
Diffstat (limited to 'tests/cavp-tests/Makefile')
-rw-r--r--tests/cavp-tests/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/cavp-tests/Makefile b/tests/cavp-tests/Makefile
new file mode 100644
index 0000000..7d5ac47
--- /dev/null
+++ b/tests/cavp-tests/Makefile
@@ -0,0 +1,16 @@
+CFLAGS=-W -Wall -Wextra -Werror -pedantic -std=c11 -O3 -march=native -mtune=native
+APP=./cavp-tests
+OBJS=sha3.o main.o
+
+.PHONY=all
+
+all: $(APP)
+
+$(APP): $(OBJS)
+ $(CC) -o $(APP) $(CFLAGS) $(OBJS)
+
+%.o: %.c
+ $(CC) -c $(CFLAGS) $<
+
+clean:
+ $(RM) -f $(APP) $(OBJS)