summary refs log tree commit diff
path: root/Makefile
blob: 312c5792a5816d1e023859616eee6c0e6c44f10b (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
PREFIX = /usr/local
MANDIR = ${PREFIX}/share/man
LIBRESSL_PREFIX = /usr/local

CFLAGS += -std=c11 -Wall -Wextra -Wpedantic
CFLAGS += ${LIBRESSL_PREFIX:%=-I%/include}
LDFLAGS += ${LIBRESSL_PREFIX:%=-L%/lib}
LDLIBS = -ltls

-include config.mk

imbox:

clean:
	rm -f imbox

install: imbox imbox.1
	install -d ${PREFIX}/bin ${MANDIR}/man1
	install imbox ${PREFIX}/bin
	gzip -c imbox.1 > ${MANDIR}/man1/imbox.1.gz

uninstall:
	rm -f ${PREFIX}/bin/imbox ${MANDIR}/man1/imbox.1.gz
pan>Implement new line editing "library"June McEnroe 2022-02-18Simplify cursor positioning in inputJune McEnroe 2022-02-18Fix M-f orderingJune McEnroe 2022-02-12Move sandman build to scripts/MakefileJune McEnroe 2022-02-12Use compat_readpassphrase.c on LinuxJune McEnroe 2022-02-12Copy RPP defines from oconfigureJune McEnroe