summaryrefslogtreecommitdiff
path: root/examples/00-sha3-256/Makefile
blob: 198831b0134cd09cb201b0c22ae12a3e4b6bc129 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
CFLAGS=-W -Wall -Wextra -Werror -pedantic -std=c11 -O3 -march=native -mtune=native
APP=./sha3-256-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)