1
0
cgitsb/Makefile
Lars Hjemli c76a52be5b Replace useless make rules with generic $(OBJECTS) dependency
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
2006-12-09 15:29:05 +01:00

21 linhas
363 B
Makefile

INSTALL_BIN = /var/www/htdocs/cgit.cgi
INSTALL_CSS = /var/www/htdocs/cgit.css
EXTLIBS = ../git/libgit.a ../git/xdiff/lib.a -lz -lcrypto
OBJECTS = cgit.o config.o html.o
all: cgit
install: all
install cgit $(INSTALL_BIN)
install cgit.css $(INSTALL_CSS)
clean:
rm -f cgit *.o
cgit: $(OBJECTS)
$(CC) -o cgit $(OBJECTS) $(EXTLIBS)
$(OBJECTS): cgit.h git.h