summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@beefcake.parabola.nu>2018-05-16 10:30:03 -0400
committerLuke Shumaker <lukeshu@beefcake.parabola.nu>2018-05-16 10:30:03 -0400
commit9891d6597770ed884c989885d04da46db5952f0a (patch)
tree133e1d8989ff26dd94f71602b71bb4d5ef803fc3 /Makefile
parent94ee3156b7a22b02f8b21e6db3fcdf7d1ad51d0e (diff)
first pass at cow-extent-map
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: