Commit 13ce9f1b by Shawn O. Pearce

Fix Makefile targets to correctly depend on *.h files

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
parent 8edc2805
...@@ -22,7 +22,7 @@ apidocs: ...@@ -22,7 +22,7 @@ apidocs:
.c.o: .c.o:
$(CC) $(BASIC_CFLAGS) $(CFLAGS) -c $< -o $@ $(CC) $(BASIC_CFLAGS) $(CFLAGS) -c $< -o $@
src/%.o: src/%.c $(HDRS) $(OBJS): $(HDRS)
libgit2.a: $(OBJS) libgit2.a: $(OBJS)
rm -f libgit2.a rm -f libgit2.a
$(AR) cr libgit2.a $(OBJS) $(AR) cr libgit2.a $(OBJS)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment