aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 344fb306572a4e9916dad0859fcf19370f6b9aef (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
.POSIX:

WARNINGS = -Wall -Wextra -Werror -Wpedantic

CC = cc
CFLAGS = $(WARNINGS) -pipe -O3 -march=native -mtune=native

all: grab
grab: grab.c

debug:
	$(CC) $(WARNINGS) -DGRAB_DEBUG -g -ggdb3 -o grab grab.c

clean:
	rm -f grab