summaryrefslogtreecommitdiff
path: root/tests/permute/Makefile
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2023-09-18 18:38:45 -0400
committerPaul Duncan <pabs@pablotron.org>2023-09-18 18:38:45 -0400
commitf93ce0378b1c116030f0e94911cbf0baee62868a (patch)
tree86e53fc501f267de119ac0532a1c4cd54ebba111 /tests/permute/Makefile
parent38cd347efa3b5d87df28806303e034412f98b8e0 (diff)
downloadsha3-f93ce0378b1c116030f0e94911cbf0baee62868a.tar.bz2
sha3-f93ce0378b1c116030f0e94911cbf0baee62868a.zip
add tests/permute
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)