projects
/
cumulus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rework filter process code to make the interface simpler.
[cumulus.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
e707305
..
454f1c4
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-5,14
+5,19
@@
CXXFLAGS=-O -Wall -Wextra -D_FILE_OFFSET_BITS=64 $(DEBUG) \
-DCUMULUS_VERSION=$(shell cat version)
LDFLAGS=$(DEBUG) $(shell pkg-config --libs $(PACKAGES))
-DCUMULUS_VERSION=$(shell cat version)
LDFLAGS=$(DEBUG) $(shell pkg-config --libs $(PACKAGES))
-THIRD_PARTY_SRCS=chunk.cc sha1.cc
-SRCS=exclude.cc localdb.cc main.cc metadata.cc ref.cc remote.cc \
+THIRD_PARTY_SRCS=chunk.cc sha1.cc
sha256.cc
+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)
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 : $(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
version : NEWS
(git describe || (head -n1 NEWS | cut -d" " -f1)) >version 2>/dev/null
$(OBJS) : version