-update-cache: update-cache.o read-cache.o
- $(CC) $(CFLAGS) -o update-cache update-cache.o read-cache.o $(LIBS)
+update-cache: update-cache.o $(LIB_FILE)
+ $(CC) $(CFLAGS) -o update-cache update-cache.o $(LIBS)
+
+show-diff: show-diff.o $(LIB_FILE)
+ $(CC) $(CFLAGS) -o show-diff show-diff.o $(LIBS)
+
+write-tree: write-tree.o $(LIB_FILE)
+ $(CC) $(CFLAGS) -o write-tree write-tree.o $(LIBS)