Drop dependence on libtar.
[cumulus.git] / Makefile
index 965d277..0363f14 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@ PACKAGES=sqlite3 uuid
 DEBUG=-g #-pg
 CXXFLAGS=-O -Wall -D_FILE_OFFSET_BITS=64 $(DEBUG) \
         `pkg-config --cflags $(PACKAGES)` -DLBS_VERSION=`cat version`
-LDFLAGS=$(DEBUG) -ltar `pkg-config --libs $(PACKAGES)`
+LDFLAGS=$(DEBUG) `pkg-config --libs $(PACKAGES)`
 
 SRCS=localdb.cc ref.cc scandir.cc sha1.cc statcache.cc store.cc util.cc
 OBJS=$(SRCS:.cc=.o)
@@ -14,9 +14,13 @@ version :
        (git-describe || echo "Unknown") >version
 $(OBJS) : version
 
-dep:
+clean :
+       rm -f $(OBJS) lbs version
+
+dep :
        touch Makefile.dep
        makedepend -fMakefile.dep $(SRCS)
 
--include *.dep
+.PHONY : clean dep
 
+-include *.dep