X-Git-Url: http://git.vrable.net/?a=blobdiff_plain;f=Makefile;h=33a5c20f6ffb910b0ce778e33e135b015f68c99c;hb=8dc395805eb042d94f8fe4d6f6e76c53293e1d14;hp=327db1ef95cda14d3be794fa0f2db2461a3ce967;hpb=de1d2429b83c89a0373599d19cc6c6cac40b2203;p=cumulus.git diff --git a/Makefile b/Makefile index 327db1e..33a5c20 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ 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)) @@ -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