summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2024-05-07 21:31:35 -0400
committerPaul Duncan <pabs@pablotron.org>2024-05-07 21:31:35 -0400
commit509bd52d3232557c85f5d63bcc75e8ebbd7853be (patch)
treec548f59f6ed83c70a39a6731fc1ef88b6f438e03
parent93c1c9804c78fb8851b5c1eb2118b2ad1237d650 (diff)
downloadsha3-509bd52d3232557c85f5d63bcc75e8ebbd7853be.tar.bz2
sha3-509bd52d3232557c85f5d63bcc75e8ebbd7853be.zip
tests/neon/Makefile: add all target
-rw-r--r--tests/neon/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/neon/Makefile b/tests/neon/Makefile
index 90bec21..503be80 100644
--- a/tests/neon/Makefile
+++ b/tests/neon/Makefile
@@ -1,11 +1,14 @@
APP=neon
-CFLAGS=-std=c11 -O2 -W -Wall -Wextra -pedantic -march=native -mtune=native
+CFLAGS=-std=c11 -O2 -W -Wall -Wextra -Werror -pedantic -march=native -mtune=native
OBJS=neon.o
-.PHONY=all clean
+.PHONY=all clean test
all: $(APP)
+test: all
+ ./neon
+
$(APP): $(OBJS)
$(CC) $(CFLAGS) -o $(APP) $(OBJS)