]> git.cameronkatri.com Git - cgit.git/blobdiff - Makefile
cache_lock: do xstrdup/free on lockfile
[cgit.git] / Makefile
index c71e39cb66413ebfb16341a1d8d2f3682e8599ed..c02963718f28bf5782379f76d9078a21e563d172 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,8 @@ INSTALL_CSS = /var/www/htdocs/cgit.css
 CACHE_ROOT = /var/cache/cgit
 
 EXTLIBS = ../git/libgit.a ../git/xdiff/lib.a -lz -lcrypto
-OBJECTS = config.o html.o cache.o
+OBJECTS = shared.o cache.o parsing.o html.o ui-shared.o ui-repolist.o \
+       ui-summary.o ui-log.o ui-view.c
 
 CFLAGS += -Wall
 
@@ -17,7 +18,8 @@ install: all
        rm -rf $(CACHE_ROOT)/*
 
 cgit: cgit.c cgit.h git.h $(OBJECTS)
-       $(CC) $(CFLAGS) -DCGIT_VERSION='"$(CGIT_VERSION)"' cgit.c -o cgit $(OBJECTS) $(EXTLIBS)
+       $(CC) $(CFLAGS) -DCGIT_VERSION='"$(CGIT_VERSION)"' cgit.c -o cgit \
+               $(OBJECTS) $(EXTLIBS)
 
 $(OBJECTS): cgit.h git.h