projects
/
cumulus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update restore.pl for new snapshot format (v0.8).
[cumulus.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
0363f14
..
911efcc
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,17
+1,18
@@
PACKAGES=sqlite3 uuid
DEBUG=-g #-pg
CXXFLAGS=-O -Wall -D_FILE_OFFSET_BITS=64 $(DEBUG) \
PACKAGES=sqlite3 uuid
DEBUG=-g #-pg
CXXFLAGS=-O -Wall -D_FILE_OFFSET_BITS=64 $(DEBUG) \
- `pkg-config --cflags $(PACKAGES)` -D
LB
S_VERSION=`cat version`
+ `pkg-config --cflags $(PACKAGES)` -D
CUMULU
S_VERSION=`cat version`
LDFLAGS=$(DEBUG) `pkg-config --libs $(PACKAGES)`
LDFLAGS=$(DEBUG) `pkg-config --libs $(PACKAGES)`
-SRCS=localdb.cc ref.cc scandir.cc sha1.cc statcache.cc store.cc util.cc
+SRCS=chunk.cc localdb.cc metadata.cc ref.cc remote.cc scandir.cc sha1.cc \
+ store.cc subfile.cc util.cc
OBJS=$(SRCS:.cc=.o)
OBJS=$(SRCS:.cc=.o)
-
lb
s : $(OBJS)
+
cumulu
s : $(OBJS)
$(CXX) $(LDFLAGS) -o $@ $^
$(CXX) $(LDFLAGS) -o $@ $^
-version :
- (git-describe ||
echo "Unknown") >version
+version :
NEWS
+ (git-describe ||
(head -n1 NEWS | cut -d" " -f1)) >version 2>/dev/null
$(OBJS) : version
clean :
$(OBJS) : version
clean :