summaryrefslogtreecommitdiff
path: root/examples/06-all/Makefile
blob: f29c0347f5d5d8a3c075327fefc601f47275c2fd (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=./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)