File tree Expand file tree Collapse file tree 1 file changed +24
-2
lines changed Expand file tree Collapse file tree 1 file changed +24
-2
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ install: $(PROG)
24
24
25
25
LIB_OBJS =read-cache.o sha1_file.o usage.o object.o commit.o tree.o blob.o
26
26
LIB_FILE =libgit.a
27
+ LIB_H =cache.h object.h
27
28
28
29
$(LIB_FILE ) : $(LIB_OBJS )
29
30
$(AR ) rcs $@ $(LIB_OBJS )
@@ -77,8 +78,29 @@ merge-base: merge-base.o $(LIB_FILE) object.o commit.o tree.o blob.o
77
78
merge-cache : merge-cache.o $(LIB_FILE )
78
79
$(CC ) $(CFLAGS ) -o merge-cache merge-cache.o $(LIBS )
79
80
80
- read-cache.o : cache.h
81
- show-diff.o : cache.h
81
+ blob.o : $(LIB_H )
82
+ cat-file.o : $(LIB_H )
83
+ check-files.o : $(LIB_H )
84
+ checkout-cache.o : $(LIB_H )
85
+ commit.o : $(LIB_H )
86
+ commit-tree.o : $(LIB_H )
87
+ diff-tree.o : $(LIB_H )
88
+ fsck-cache.o : $(LIB_H )
89
+ init-db.o : $(LIB_H )
90
+ ls-tree.o : $(LIB_H )
91
+ merge-base.o : $(LIB_H )
92
+ merge-cache.o : $(LIB_H )
93
+ object.o : $(LIB_H )
94
+ read-cache.o : $(LIB_H )
95
+ read-tree.o : $(LIB_H )
96
+ rev-tree.o : $(LIB_H )
97
+ sha1_file.o : $(LIB_H )
98
+ show-diff.o : $(LIB_H )
99
+ show-files.o : $(LIB_H )
100
+ tree.o : $(LIB_H )
101
+ update-cache.o : $(LIB_H )
102
+ usage.o : $(LIB_H )
103
+ write-tree.o : $(LIB_H )
82
104
83
105
clean :
84
106
rm -f * .o $(PROG ) $(LIB_FILE )
You can’t perform that action at this time.
0 commit comments