Unidiff1 files changed, 1 insertions, 5 deletions
|
diff --git a/Makefile b/Makefile index 1470c0a..4e72b07 100644 --- a/ Makefile+++ b/ Makefile |
|
@@ -1,24 +1,20 @@ |
1 | |
1 | |
2 | INSTALL_BIN = /var/www/htdocs/cgit.cgi |
2 | INSTALL_BIN = /var/www/htdocs/cgit.cgi |
3 | INSTALL_CSS = /var/www/htdocs/cgit.css |
3 | INSTALL_CSS = /var/www/htdocs/cgit.css |
4 | |
4 | |
5 | EXTLIBS = ../git/libgit.a ../git/xdiff/lib.a -lz -lcrypto |
5 | EXTLIBS = ../git/libgit.a ../git/xdiff/lib.a -lz -lcrypto |
6 | OBJECTS = cgit.o config.o html.o |
6 | OBJECTS = cgit.o config.o html.o |
7 | |
7 | |
8 | all: cgit |
8 | all: cgit |
9 | |
9 | |
10 | install: all |
10 | install: all |
11 | install cgit $(INSTALL_BIN) |
11 | install cgit $(INSTALL_BIN) |
12 | install cgit.css $(INSTALL_CSS) |
12 | install cgit.css $(INSTALL_CSS) |
13 | |
13 | |
14 | clean: |
14 | clean: |
15 | rm -f cgit *.o |
15 | rm -f cgit *.o |
16 | |
16 | |
17 | cgit: $(OBJECTS) |
17 | cgit: $(OBJECTS) |
18 | $(CC) -o cgit $(OBJECTS) $(EXTLIBS) |
18 | $(CC) -o cgit $(OBJECTS) $(EXTLIBS) |
19 | |
19 | |
20 | cgit.o: cgit.h git.h config.o html.o |
20 | $(OBJECTS): cgit.h git.h |
21 | |
| |
22 | config.o: cgit.h git.h html.c |
| |
23 | |
| |
24 | html.o: cgit.h git.h html.c |
| |
|