aboutsummaryrefslogtreecommitdiff
path: root/tests/permute/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tests/permute/Makefile')
-rw-r--r--tests/permute/Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/permute/Makefile b/tests/permute/Makefile
new file mode 100644
index 0000000..142014c
--- /dev/null
+++ b/tests/permute/Makefile
@@ -0,0 +1,19 @@
+CFLAGS=-W -Wall -Wextra -Werror -pedantic -std=c11 -O3 -march=native -mtune=native
+APP=./test-permute
+OBJS=permute.o
+
+.PHONY=test all
+
+all: $(APP)
+
+$(APP): $(OBJS)
+ $(CC) -o $(APP) $(CFLAGS) $(OBJS)
+
+%.o: %.c
+ $(CC) -c $(CFLAGS) $<
+
+test: $(APP)
+ $(APP)
+
+clean:
+ $(RM) -f $(APP) $(OBJS)