summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Ericsson <ae@op5.se>2008-11-22 15:33:15 +0100
committerShawn O. Pearce <spearce@spearce.org>2008-11-22 12:08:00 -0800
commit6013ffa66ef5d856b2c4c72c44b1a63a7ccc2b57 (patch)
tree2d38f94e73d3a6df5d650ddc6835d75498437d22
parent21648b45356a49c76d58acf3590bd98ad12b3d58 (diff)
downloadlibgit2-6013ffa66ef5d856b2c4c72c44b1a63a7ccc2b57.tar.gz
Add $(CONFIG_H) as a build-dependency for sparse
Signed-off-by: Andreas Ericsson <ae@op5.se> Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e8919be60..e7bed373b 100644
--- a/Makefile
+++ b/Makefile
@@ -41,7 +41,7 @@ apidocs:
test: $(TEST_RUN)
-sparse:
+sparse: $(CONFIG_H)
@for i in $(SRC_C); do sparse $$i -DSPARSE_IS_RUNNING $(SPARSE_FLAGS) $(BASIC_CFLAGS) $(CFLAGS); done
install-headers: $(PUBLIC_HEADERS)