summaryrefslogtreecommitdiff
path: root/Makefile
blob: e6dffd60bb2150411463827ab21a543cc7046f86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
CFLAGS += -std=c11
CPPFLAGS += -I$(CURDIR)/lib
CPPFLAGS += -I$(CURDIR)/hack
CFLAGS += -Wall -Werror -Wextra
CPPFLAGS += -O2 -D_FORTIFY_SOURCE=2

all: cow-dedupe-range
.PHONY: all

cow-dedupe-range: src/cow-dedupe-range.o lib/dedupe-range.o
	$(CC) $(LDFLAGS) -o $@ $^

.SECONDARY:
.DELETE_ON_ERROR: