mirror of
https://github.com/linux-speakup/espeakup.git
synced 2026-08-09 09:19:09 +02:00
clean makefile
get rid of unnecessary targets. add warning options.
This commit is contained in:
parent
2f3d171863
commit
c69d98cde6
1 changed files with 3 additions and 6 deletions
9
Makefile
9
Makefile
|
|
@ -2,9 +2,10 @@ PREFIX = /usr/local
|
|||
BINDIR = ${PREFIX}/bin
|
||||
MANDIR = ${PREFIX}/share/man
|
||||
SRC_DIR = src
|
||||
|
||||
DEPFLAGS = -MMD
|
||||
WARNFLAGS = -Wall
|
||||
WARNFLAGS = -Wall -Wpedantic \
|
||||
-Wextra
|
||||
|
||||
CFLAGS += ${DEPFLAGS} ${WARNFLAGS}
|
||||
|
||||
LDLIBS = -lespeak-ng -lpthread -lasound -lm
|
||||
|
|
@ -12,16 +13,12 @@ LDLIBS = -lespeak-ng -lpthread -lasound -lm
|
|||
INSTALL = install
|
||||
BINMODE = 0755
|
||||
MANMODE = 0644
|
||||
CHANGELOG_LIMIT?= --after="1 year ago"
|
||||
|
||||
SRC = $(wildcard $(SRC_DIR)/*.c)
|
||||
OBJECTS := $(patsubst %.c,%.o,$(wildcard $(SRC_DIR)/*.c))
|
||||
|
||||
all: espeakup
|
||||
|
||||
changelog:
|
||||
git log ${CHANGELOG_LIMIT} --format=full > ChangeLog
|
||||
|
||||
install: espeakup
|
||||
${INSTALL} -d ${DESTDIR}${BINDIR}
|
||||
${INSTALL} -m ${BINMODE} $< ${DESTDIR}${BINDIR}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue