X-Git-Url: http://git.vrable.net/?a=blobdiff_plain;f=Makefile;h=162d9f98f6b26f8ec6fa15e50754045487123d22;hb=36e15463221ffb8f2e1dc9903705d7be81d1d1f8;hp=37a747e0a3cef539109de99682161d66972789cd;hpb=682c41cb7eeb03676a44e3d51891d57e5e16bb48;p=cumulus.git diff --git a/Makefile b/Makefile index 37a747e..162d9f9 100644 --- a/Makefile +++ b/Makefile @@ -1,19 +1,19 @@ 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 + (git describe || (head -n1 NEWS | cut -d" " -f1)) >version 2>/dev/null $(OBJS) : version clean :