aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 29920734055be9f605f84554b2cd2af150f12078 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
.POSIX:

CFLAGS  = -Ofast -march=native -mtune=native -pipe -Wall -Wextra -Werror -pedantic
PREFIX  = /usr
DPREFIX = ${DESTDIR}${PREFIX}
MANDIR  = ${DPREFIX}/share/man

target = center

all: ${target}
${target}: ${target}.c

clean:
	rm -f ${target}

install:
	mkdir -p ${DPREFIX}/bin ${MANDIR}/man1
	cp ${target} ${DPREFIX}/bin
	cp ${target}.1 ${MANDIR}/man1