scribo

Email-based phlog generator
git clone git://git.z3bra.org/scribo.git
Log | Files | Refs | README | LICENSE

commit a35f45347a0de649383b37c35fee3aceb7596072
parent 9a400a8eac3ca377dbabdc0e1109efa069b814b3
Author: Willy Goiffon <dev@z3bra.org>
Date:   Wed,  9 Sep 2020 23:05:47 +0200

Add mkfile to build project

Diffstat:
Amkfile | 22++++++++++++++++++++++
1 file changed, 22 insertions(+), 0 deletions(-)

diff --git a/mkfile b/mkfile @@ -0,0 +1,22 @@ +<config.mk + +all:V: scribo + +scribo: scribo.o rfc5322.o qp.o base64.o strlcpy.o strlcat.o + $LD $LDFLAGS -o $target $prereq + +%.o: %.c + $CC $CPPFLAGS $CFLAGS -c $stem.c + +install:V: scribo scribo.1 + mkdir -p ${DESTDIR}${PREFIX}/bin + mkdir -p ${DESTDIR}${MANDIR}/man1 + cp scribo ${DESTDIR}${PREFIX}/bin/scribo + cp scribo.1 ${DESTDIR}${MANDIR}/man1/scribo.1 + +uninstall:V: + rm ${DESTDIR}${PREFIX}/bin/scribo + rm ${DESTDIR}${MANDIR}/man1/scribo.1 + +clean:V: + rm -f scribo *.o