diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
| @@ -5,7 +5,7 @@ INSTALL_CSS = /var/www/htdocs/cgit.css | |||
| 5 | CACHE_ROOT = /var/cache/cgit | 5 | CACHE_ROOT = /var/cache/cgit |
| 6 | 6 | ||
| 7 | EXTLIBS = ../git/libgit.a ../git/xdiff/lib.a -lz -lcrypto | 7 | EXTLIBS = ../git/libgit.a ../git/xdiff/lib.a -lz -lcrypto |
| 8 | OBJECTS = config.o html.o cache.o | 8 | OBJECTS = parsing.o html.o cache.o |
| 9 | 9 | ||
| 10 | CFLAGS += -Wall | 10 | CFLAGS += -Wall |
| 11 | 11 | ||
| @@ -17,7 +17,8 @@ install: all | |||
| 17 | rm -rf $(CACHE_ROOT)/* | 17 | rm -rf $(CACHE_ROOT)/* |
| 18 | 18 | ||
| 19 | cgit: cgit.c cgit.h git.h $(OBJECTS) | 19 | cgit: cgit.c cgit.h git.h $(OBJECTS) |
| 20 | $(CC) $(CFLAGS) -DCGIT_VERSION='"$(CGIT_VERSION)"' cgit.c -o cgit $(OBJECTS) $(EXTLIBS) | 20 | $(CC) $(CFLAGS) -DCGIT_VERSION='"$(CGIT_VERSION)"' cgit.c -o cgit \ |
| 21 | $(OBJECTS) $(EXTLIBS) | ||
| 21 | 22 | ||
| 22 | $(OBJECTS): cgit.h git.h | 23 | $(OBJECTS): cgit.h git.h |
| 23 | 24 | ||
