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

.PHONY=test all clean

all: $(APP)

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

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

test: $(APP)
	$(APP)

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