aboutsummaryrefslogtreecommitdiff
path: root/tests/avx2/Makefile
blob: a30cbc95344ece453629a2ccbd83e42910b76eee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
CFLAGS=-std=c11 -W -Wall -Wextra -Wpedantic -Werror -g -O3 -march=native -mtune=native
APP=./avx2
OBJS=main.o

.PHONY=all test clean

test: all
	$(APP)

all: $(APP)

$(APP): $(OBJS)
	$(CC) -o $(APP) $(CFLAGS) $(OBJS)

%.o: %.c
	$(CC) -c $(CFLAGS) $<

clean:
	$(RM) -f $(APP) $(OBJS)