mirror of
https://github.com/linux-speakup/espeakup.git
synced 2026-08-09 09:19:09 +02:00
new src structure
to make it more understandable and convenient for further improvements.
This commit is contained in:
parent
3fb775cc33
commit
335d748a63
15 changed files with 9 additions and 15 deletions
5
.gitignore
vendored
5
.gitignore
vendored
|
|
@ -1,4 +1,3 @@
|
|||
espeakup
|
||||
*.d
|
||||
*.o
|
||||
*.swp
|
||||
src/*.d
|
||||
src/*.o
|
||||
|
|
|
|||
19
Makefile
19
Makefile
|
|
@ -1,6 +1,7 @@
|
|||
PREFIX = /usr/local
|
||||
BINDIR = ${PREFIX}/bin
|
||||
MANDIR = ${PREFIX}/share/man
|
||||
SRC_DIR = src
|
||||
|
||||
DEPFLAGS = -MMD
|
||||
WARNFLAGS = -Wall
|
||||
|
|
@ -13,15 +14,8 @@ 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}
|
||||
SRC = $(wildcard $(SRC_DIR)/*.c)
|
||||
OBJECTS := $(patsubst %.c,%.o,$(wildcard $(SRC_DIR)/*.c))
|
||||
|
||||
all: espeakup
|
||||
|
||||
|
|
@ -32,12 +26,13 @@ install: espeakup
|
|||
${INSTALL} -d ${DESTDIR}${BINDIR}
|
||||
${INSTALL} -m ${BINMODE} $< ${DESTDIR}${BINDIR}
|
||||
${INSTALL} -d ${DESTDIR}${MANDIR}/man8
|
||||
${INSTALL} -m ${MANMODE} espeakup.8 ${DESTDIR}${MANDIR}/man8
|
||||
${INSTALL} -m ${MANMODE} doc/espeakup.8 ${DESTDIR}${MANDIR}/man8
|
||||
|
||||
espeakup: ${OBJS}
|
||||
espeakup: ${OBJECTS}
|
||||
cc $(LDLIBS) -o ./espeakup $(OBJECTS)
|
||||
|
||||
clean:
|
||||
${RM} *.d *.o
|
||||
${RM} $(SRC_DIR)/*.d $(SRC_DIR)/*.o
|
||||
|
||||
distclean: clean
|
||||
${RM} espeakup
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue