summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-18 21:11:01 (GMT)
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-18 21:11:01 (GMT)
commit3407bb4940c25ca67c846a48ef2c2c60c02178e0 (patch)
treea03f07de14b83440fc33358924329abc1d9f1ada /Makefile
parente590d694ead8d50c2afc7086161d4ddc5d907655 (diff)
downloadgit-3407bb4940c25ca67c846a48ef2c2c60c02178e0.zip
git-3407bb4940c25ca67c846a48ef2c2c60c02178e0.tar.gz
git-3407bb4940c25ca67c846a48ef2c2c60c02178e0.tar.bz2
Add "unpack-file" helper that unpacks a sha1 blob into a tmpfile.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 85859b0..390bd32 100644
--- a/Makefile
+++ b/Makefile
@@ -15,7 +15,7 @@ AR=ar
PROG= update-cache show-diff init-db write-tree read-tree commit-tree \
cat-file fsck-cache checkout-cache diff-tree rev-tree show-files \
- check-files ls-tree merge-base merge-cache
+ check-files ls-tree merge-base merge-cache unpack-file
all: $(PROG)
@@ -78,6 +78,9 @@ merge-base: merge-base.o $(LIB_FILE) object.o commit.o tree.o blob.o
merge-cache: merge-cache.o $(LIB_FILE)
$(CC) $(CFLAGS) -o merge-cache merge-cache.o $(LIBS)
+unpack-file: unpack-file.o $(LIB_FILE)
+ $(CC) $(CFLAGS) -o unpack-file unpack-file.o $(LIBS)
+
blob.o: $(LIB_H)
cat-file.o: $(LIB_H)
check-files.o: $(LIB_H)
@@ -100,6 +103,7 @@ show-files.o: $(LIB_H)
tree.o: $(LIB_H)
update-cache.o: $(LIB_H)
usage.o: $(LIB_H)
+unpack-file.o: $(LIB_H)
write-tree.o: $(LIB_H)
clean: