diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -10,6 +10,7 @@ CPPFLAGS += -O2 -D_FORTIFY_SOURCE=2 all: cow-dedupe-range all: cow-extent-map +all: cow-dedupe .PHONY: all %: src/%.o @@ -18,5 +19,11 @@ all: cow-extent-map cow-dedupe-range: lib/dedupe-range.o cow-extent-map: lib/extent-map.o lib/strextentflags.o +cow-dedupe: go/bin/cow-dedupe + cp $< $@ +go/bin/cow-dedupe: FORCE + GOPATH=$(CURDIR)/go go install $(@F) + .SECONDARY: .DELETE_ON_ERROR: +.PHONY: FORCE |