From 4eebef1961a1c01890fe11dc5f1b9f3a1ea705e0 Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Wed, 6 Sep 2023 23:23:31 -0400 Subject: add examples/ --- examples/01-shake128/Makefile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 examples/01-shake128/Makefile (limited to 'examples/01-shake128/Makefile') diff --git a/examples/01-shake128/Makefile b/examples/01-shake128/Makefile new file mode 100644 index 0000000..f5080cd --- /dev/null +++ b/examples/01-shake128/Makefile @@ -0,0 +1,16 @@ +CFLAGS=-W -Wall -Wextra -Werror -pedantic -std=c11 -O3 -march=native -mtune=native +APP=./shake128-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) -- cgit v1.2.3