X-Git-Url: http://git.vrable.net/?p=cumulus.git;a=blobdiff_plain;f=Makefile;h=454f1c47b1f7d3c4537f692b8a59df7964e30db4;hp=a57062c92cc612cc68ef3f47ae5e7f7db61b1104;hb=ad1381b6da02a65ebadfc2f466e9bf6ab9086229;hpb=f546e4df51cde51dd984e4ad26e70dd7533f9791 diff --git a/Makefile b/Makefile index a57062c..454f1c4 100644 --- a/Makefile +++ b/Makefile @@ -10,9 +10,14 @@ SRCS=exclude.cc hash.cc localdb.cc main.cc metadata.cc ref.cc remote.cc \ store.cc subfile.cc util.cc $(addprefix third_party/,$(THIRD_PARTY_SRCS)) OBJS=$(SRCS:.cc=.o) +all : cumulus cumulus-chunker-standalone + cumulus : $(OBJS) $(CXX) -o $@ $^ $(LDFLAGS) +cumulus-chunker-standalone : chunker-standalone.o third_party/chunk.o + $(CXX) -o $@ $^ $(LDFLAGS) + version : NEWS (git describe || (head -n1 NEWS | cut -d" " -f1)) >version 2>/dev/null $(OBJS) : version