3 CXXFLAGS=-O -Wall -D_FILE_OFFSET_BITS=64 $(DEBUG) \
4 $(shell pkg-config --cflags $(PACKAGES)) \
5 -DCUMULUS_VERSION=$(shell cat version)
6 LDFLAGS=$(DEBUG) $(shell pkg-config --libs $(PACKAGES))
8 SRCS=chunk.cc localdb.cc metadata.cc ref.cc remote.cc scandir.cc sha1.cc \
9 store.cc subfile.cc util.cc
13 $(CXX) $(LDFLAGS) -o $@ $^
16 (git describe || (head -n1 NEWS | cut -d" " -f1)) >version 2>/dev/null
20 rm -f $(OBJS) cumulus version
24 makedepend -fMakefile.dep $(SRCS)