X-Git-Url: http://git.vrable.net/?a=blobdiff_plain;f=Makefile;h=3602ea793bc1f71b0d20b2a3f5ee50936a1ac953;hb=748d04c5c242a1dfcc932220eabd14f778e386c9;hp=327db1ef95cda14d3be794fa0f2db2461a3ce967;hpb=de1d2429b83c89a0373599d19cc6c6cac40b2203;p=cumulus.git diff --git a/Makefile b/Makefile index 327db1e..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,11 +13,11 @@ 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 : - rm -f $(OBJS) lbs version + rm -f $(OBJS) cumulus version dep : touch Makefile.dep