projects
/
cumulus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Makefile cleanups.
[cumulus.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
e947b47
..
ee00c7d
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-4,7
+4,7
@@
CXXFLAGS=-O -Wall -D_FILE_OFFSET_BITS=64 $(DEBUG) \
`pkg-config --cflags $(PACKAGES)` -DLBS_VERSION=`cat version`
LDFLAGS=$(DEBUG) -ltar `pkg-config --libs $(PACKAGES)`
`pkg-config --cflags $(PACKAGES)` -DLBS_VERSION=`cat version`
LDFLAGS=$(DEBUG) -ltar `pkg-config --libs $(PACKAGES)`
-SRCS=
format.cc localdb.cc ref.cc scandir.cc sha1.cc statcache.cc store
.cc
+SRCS=
localdb.cc ref.cc scandir.cc sha1.cc statcache.cc store.cc util
.cc
OBJS=$(SRCS:.cc=.o)
lbs : $(OBJS)
OBJS=$(SRCS:.cc=.o)
lbs : $(OBJS)
@@
-14,9
+14,13
@@
version :
(git-describe || echo "Unknown") >version
$(OBJS) : version
(git-describe || echo "Unknown") >version
$(OBJS) : version
-dep:
+clean :
+ rm -f $(OBJS) lbs version
+
+dep :
touch Makefile.dep
makedepend -fMakefile.dep $(SRCS)
touch Makefile.dep
makedepend -fMakefile.dep $(SRCS)
-
-include *.
dep
+
.PHONY : clean
dep
+-include *.dep