]> gitweb.ps.run Git - ps-cgit/blobdiff - Makefile
Let make know that ui-diff.c depends on xdiff.h
[ps-cgit] / Makefile
index 2a4d62a4b1d9463b500be3b9c3d263479efd476c..52e1cb798650c732fc820ea129d8a592c5681283 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@ CACHE_ROOT = /var/cache/cgit
 
 EXTLIBS = ../git/libgit.a ../git/xdiff/lib.a -lz -lcrypto
 OBJECTS = shared.o cache.o parsing.o html.o ui-shared.o ui-repolist.o \
-       ui-summary.o ui-log.o ui-view.c ui-tree.c
+       ui-summary.o ui-log.o ui-view.c ui-tree.c ui-commit.c ui-diff.o
 
 CFLAGS += -Wall
 
@@ -22,6 +22,8 @@ cgit: cgit.c cgit.h git.h $(OBJECTS)
 
 $(OBJECTS): cgit.h git.h
 
+ui-diff.o: xdiff.h
+
 .PHONY: clean
 clean:
        rm -f cgit *.o