summaryrefslogtreecommitdiff
path: root/Makefile
blob: 10ebe01b322908385e0eecf609a7a6404443a747 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
CFLAGS += -std=c11
CPPFLAGS += -I$(CURDIR)/lib
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: