X-Git-Url: http://git.vrable.net/?a=blobdiff_plain;f=Makefile;h=141ce9cd1fe8d57cf9471a2884a4da9a3d0920f2;hb=4a6945983fa171fa843c6f8955ba601f733f3ca5;hp=8fc6f05700ed4d54587a63df09628a7b21db68e2;hpb=b57ca1c9e3f6fd1e4ea796e82e9863ffab0cb76e;p=cumulus.git diff --git a/Makefile b/Makefile index 8fc6f05..141ce9c 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,17 @@ -CXXFLAGS=-O -Wall -D_FILE_OFFSET_BITS=64 +PACKAGES=uuid +CXXFLAGS=-O -Wall -D_FILE_OFFSET_BITS=64 -g -pg \ + `pkg-config --cflags $(PACKAGES)` +LDFLAGS=-g -pg `pkg-config --libs $(PACKAGES)` -OBJS=scandir.o +SRCS=scandir.cc sha1.cc store.cc +OBJS=$(SRCS:.cc=.o) scandir : $(OBJS) $(CXX) $(LDFLAGS) -o $@ $^ + +dep: + touch Makefile.dep + makedepend -fMakefile.dep $(SRCS) + +-include *.dep +