projects
/
cumulus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add a cache around getpwuid/getgrgid to avoid repeated calls.
[cumulus.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
33a5c20
..
8ae5754
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-5,12
+5,12
@@
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))
-SRCS=chunk.cc localdb.cc m
etadata.cc ref.cc remote.cc scandir
.cc sha1.cc \
+SRCS=chunk.cc localdb.cc m
ain.cc metadata.cc ref.cc remote
.cc sha1.cc \
store.cc subfile.cc util.cc
OBJS=$(SRCS:.cc=.o)
cumulus : $(OBJS)
store.cc subfile.cc util.cc
OBJS=$(SRCS:.cc=.o)
cumulus : $(OBJS)
- $(CXX)
$(LDFLAGS) -o $@ $^
+ $(CXX)
-o $@ $^ $(LDFLAGS)
version : NEWS
(git describe || (head -n1 NEWS | cut -d" " -f1)) >version 2>/dev/null
version : NEWS
(git describe || (head -n1 NEWS | cut -d" " -f1)) >version 2>/dev/null