From 8bce03ef55d76e84c3a15c68cceaa71800196792 Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Mon, 16 Oct 2023 17:20:36 -0400 Subject: add examples/06-all/ --- examples/06-all/Makefile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 examples/06-all/Makefile (limited to 'examples/06-all/Makefile') diff --git a/examples/06-all/Makefile b/examples/06-all/Makefile new file mode 100644 index 0000000..f29c034 --- /dev/null +++ b/examples/06-all/Makefile @@ -0,0 +1,16 @@ +CFLAGS=-W -Wall -Wextra -Werror -pedantic -std=c11 -O3 -march=native -mtune=native +APP=./all-fns +OBJS=sha3.o all-fns.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