about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--Makefile29
1 files changed, 22 insertions, 7 deletions
diff --git a/Makefile b/Makefile index d9ff7d8..d1950cb 100644 --- a/Makefile +++ b/Makefile
@@ -14,10 +14,25 @@ GIT_URL = http://www.kernel.org/pub/software/scm/git/git-$(GIT_VER).tar.bz2
14 14
15 15
16EXTLIBS = git/libgit.a git/xdiff/lib.a -lz -lcrypto 16EXTLIBS = git/libgit.a git/xdiff/lib.a -lz -lcrypto
17OBJECTS = shared.o cache.o parsing.o html.o ui-shared.o ui-repolist.o \ 17OBJECTS =
18 ui-summary.o ui-log.o ui-tree.o ui-commit.o ui-diff.o \ 18OBJECTS += cache.o
19 ui-snapshot.o ui-blob.o ui-tag.o ui-refs.o ui-patch.o cmd.o 19OBJECTS += cgit.o
20 20OBJECTS += cmd.o
21OBJECTS += html.o
22OBJECTS += parsing.o
23OBJECTS += shared.o
24OBJECTS += ui-blob.o
25OBJECTS += ui-commit.o
26OBJECTS += ui-diff.o
27OBJECTS += ui-log.o
28OBJECTS += ui-patch.o
29OBJECTS += ui-refs.o
30OBJECTS += ui-repolist.o
31OBJECTS += ui-shared.o
32OBJECTS += ui-snapshot.o
33OBJECTS += ui-summary.o
34OBJECTS += ui-tag.o
35OBJECTS += ui-tree.o
21 36
22ifdef NEEDS_LIBICONV 37ifdef NEEDS_LIBICONV
23 EXTLIBS += -liconv 38 EXTLIBS += -liconv
@@ -41,10 +56,10 @@ CFLAGS += -DCGIT_SCRIPT_NAME='"$(CGIT_SCRIPT_NAME)"'
41CFLAGS += -DCGIT_CACHE_ROOT='"$(CACHE_ROOT)"' 56CFLAGS += -DCGIT_CACHE_ROOT='"$(CACHE_ROOT)"'
42 57
43 58
44cgit: cgit.c $(OBJECTS) 59cgit: $(OBJECTS)
45 $(CC) $(CFLAGS) cgit.c -o cgit $(OBJECTS) $(EXTLIBS) 60 $(CC) $(CFLAGS) -o cgit $(OBJECTS) $(EXTLIBS)
46 61
47$(OBJECTS): cgit.h git/xdiff/lib.a git/libgit.a VERSION 62$(OBJECTS): git/xdiff/lib.a git/libgit.a VERSION
48 63
49git/xdiff/lib.a: | git 64git/xdiff/lib.a: | git
50 65