summaryrefslogtreecommitdiff
path: root/examples/02-kmac128/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'examples/02-kmac128/Makefile')
-rw-r--r--examples/02-kmac128/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/examples/02-kmac128/Makefile b/examples/02-kmac128/Makefile
new file mode 100644
index 0000000..ae267f9
--- /dev/null
+++ b/examples/02-kmac128/Makefile
@@ -0,0 +1,16 @@
+CFLAGS=-W -Wall -Wextra -Werror -pedantic -std=c11 -O3 -march=native -mtune=native
+APP=./kmac128-example
+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)