blob: 0c2570e49213dd4d430188032a958e759acb2b05 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
.POSIX:
CFLAGS = -Wall -Wextra -Wpedantic -Werror \
-O3 -march=native -mtune=native \
-std=c11 -pipe
LDFLAGS = `pkg-config --libs libpcre2-8`
PREFIX = /usr/local
DPREFIX = ${DESTDIR}${PREFIX}
MANDIR = ${DPREFIX}/share/man
target = fsub
all: ${target}
${target}: ${target}.c
install:
mkdir -p ${DPREFIX}/bin ${MANDIR}/man1
cp ${target} ${DPREFIX}/bin
cp *.1 ${MANDIR}/man1
clean:
rm -f ${target}
|