aboutsummaryrefslogtreecommitdiff
path: root/tests/neon
diff options
context:
space:
mode:
Diffstat (limited to 'tests/neon')
-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)