blob: b76e7cc5c46d6696a314bb9885c73534b433a247 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
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
all: cow-extent-map
.PHONY: all
%: src/%.o
$(CC) $(LDFLAGS) -o $@ $^
cow-dedupe-range: lib/dedupe-range.o
cow-extent-map: lib/extent-map.o lib/strextentflags.o
.SECONDARY:
.DELETE_ON_ERROR:
|