From 13ce9f1b96279187249d56cc641252ff617fa35a Mon Sep 17 00:00:00 2001 From: "Shawn O. Pearce" Date: Fri, 31 Oct 2008 12:28:49 -0700 Subject: [PATCH] Fix Makefile targets to correctly depend on *.h files Signed-off-by: Shawn O. Pearce --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e719ec29c..662a69f7b 100644 --- a/Makefile +++ b/Makefile @@ -22,7 +22,7 @@ apidocs: .c.o: $(CC) $(BASIC_CFLAGS) $(CFLAGS) -c $< -o $@ -src/%.o: src/%.c $(HDRS) +$(OBJS): $(HDRS) libgit2.a: $(OBJS) rm -f libgit2.a $(AR) cr libgit2.a $(OBJS)