X-Git-Url: http://git.vrable.net/?a=blobdiff_plain;f=Makefile;h=3602ea793bc1f71b0d20b2a3f5ee50936a1ac953;hb=78376bd08b8f19a73fde4a1d922c743bd0a9dfbf;hp=37a747e0a3cef539109de99682161d66972789cd;hpb=682c41cb7eeb03676a44e3d51891d57e5e16bb48;p=cumulus.git diff --git a/Makefile b/Makefile index 37a747e..3602ea7 100644 --- a/Makefile +++ b/Makefile @@ -1,11 +1,11 @@ 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 \ +SRCS=chunk.cc localdb.cc main.cc metadata.cc ref.cc remote.cc sha1.cc \ store.cc subfile.cc util.cc OBJS=$(SRCS:.cc=.o) @@ -13,7 +13,7 @@ cumulus : $(OBJS) $(CXX) $(LDFLAGS) -o $@ $^ 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 :