forked from stormdragon2976/espeakup
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
45 lines (33 loc) · 766 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
PREFIX = /usr/local
BINDIR = ${PREFIX}/bin
MANDIR = ${PREFIX}/share/man
DEPFLAGS = -MMD
WARNFLAGS = -Wall
CFLAGS += ${DEPFLAGS} ${WARNFLAGS}
LDLIBS = -lespeak -lpthread
INSTALL = install
BINMODE = 0755
MANMODE = 0644
CHANGELOG_LIMIT?= --after="1 year ago"
SRCS = cli.c \
espeak.c \
espeakup.c \
queue.c \
signal.c \
softsynth.c \
stringhandling.c
OBJS = ${SRCS:.c=.o}
all: espeakup
changelog:
git log ${CHANGELOG_LIMIT} --format=full > ChangeLog
install: espeakup
${INSTALL} -d ${DESTDIR}${BINDIR}
${INSTALL} -m ${BINMODE} $< ${DESTDIR}${BINDIR}
${INSTALL} -d ${DESTDIR}${MANDIR}/man8
${INSTALL} -m ${MANMODE} espeakup.8 ${DESTDIR}${MANDIR}/man8
espeakup: ${OBJS}
clean:
${RM} *.d *.o
distclean: clean
${RM} espeakup
-include ${SRCS:.c=.d}