X-Git-Url: http://git.vrable.net/?a=blobdiff_plain;f=Makefile;h=162d9f98f6b26f8ec6fa15e50754045487123d22;hb=cdbe16714a926da9f8ae752027138aa15cda7f60;hp=bf6561c59521c115b8d8f97d38e3d0113fb60489;hpb=f00db3cfa6c0ac82dbf314d4e12b1b0ebb84ba0a;p=cumulus.git diff --git a/Makefile b/Makefile index bf6561c..162d9f9 100644 --- a/Makefile +++ b/Makefile @@ -1,16 +1,16 @@ PACKAGES=sqlite3 uuid DEBUG=-g -CXXFLAGS=-O -Wall -D_FILE_OFFSET_BITS=64 $(DEBUG) \ +CXXFLAGS=-O -Wall -Wextra -D_FILE_OFFSET_BITS=64 $(DEBUG) \ $(shell pkg-config --cflags $(PACKAGES)) \ -DCUMULUS_VERSION=$(shell cat version) LDFLAGS=$(DEBUG) $(shell pkg-config --libs $(PACKAGES)) -SRCS=chunk.cc localdb.cc metadata.cc ref.cc remote.cc scandir.cc sha1.cc \ - store.cc subfile.cc util.cc +SRCS=chunk.cc exclude.cc localdb.cc main.cc metadata.cc ref.cc remote.cc \ + sha1.cc 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