]> git.cameronkatri.com Git - cgit.git/blobdiff - Makefile
Move cgit_version from shared.c to cgit.c
[cgit.git] / Makefile
index faf7b98ae8b658af4af1a6b3326f7af6a95ef45f..c9be8fa0abc0a0b25b5328e1e12f1f03d7a45bcb 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -66,7 +66,9 @@ CFLAGS += -DCGIT_CACHE_ROOT='"$(CACHE_ROOT)"'
 cgit: $(OBJECTS)
        $(CC) $(CFLAGS) -o cgit $(OBJECTS) $(EXTLIBS)
 
-$(OBJECTS): git/xdiff/lib.a git/libgit.a VERSION
+$(OBJECTS): git/xdiff/lib.a git/libgit.a
+
+cgit.o: VERSION
 
 -include $(OBJECTS:.o=.d)