mirror of
https://github.com/reactos/ccache.git
synced 2024-12-14 06:58:32 +00:00
29 lines
540 B
Makefile
29 lines
540 B
Makefile
|
|
prefix=@prefix@
|
|
exec_prefix=@exec_prefix@
|
|
bindir=@bindir@
|
|
mandir=@mandir@
|
|
INSTALLCMD=@INSTALL@
|
|
|
|
CC=@CC@
|
|
CFLAGS=@CFLAGS@
|
|
|
|
OBJS= ccache.o mdfour.o hash.o execute.o util.o args.o stats.o cleanup.o snprintf.o
|
|
HEADERS = ccache.h mdfour.h
|
|
|
|
all: ccache ccache.1
|
|
|
|
ccache: $(OBJS) $(HEADERS)
|
|
$(CC) $(CFLAGS) -o $@ $(OBJS)
|
|
|
|
ccache.1: ccache.yo
|
|
yodl2man -o ccache.1 ccache.yo
|
|
yodl2html -o web/ccache-man.html ccache.yo
|
|
|
|
install:
|
|
${INSTALLCMD} -m 755 ccache ${bindir}
|
|
${INSTALLCMD} -m 644 ccache.1 ${mandir}
|
|
|
|
clean:
|
|
/bin/rm -f $(OBJS) *~ ccache
|