summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e6dffd6..6cf34d9 100644
--- a/Makefile
+++ b/Makefile
@@ -5,10 +5,14 @@ CFLAGS += -Wall -Werror -Wextra
CPPFLAGS += -O2 -D_FORTIFY_SOURCE=2
all: cow-dedupe-range
+all: cow-extent-map
.PHONY: all
-cow-dedupe-range: src/cow-dedupe-range.o lib/dedupe-range.o
+%: src/%.o
$(CC) $(LDFLAGS) -o $@ $^
+cow-dedupe-range: lib/dedupe-range.o
+cow-extent-map: lib/extent-map.o
+
.SECONDARY:
.DELETE_ON_ERROR: