tRefresh makefile and config.mk - scribo - Email-based phlog generator
 (HTM) git clone git://git.z3bra.org/scribo.git
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit e61e8e2a4eecc4ede095cd76160d0949d321758f
 (DIR) parent c0cb6ad8079571c03c4442a600cf2477c41abae8
 (HTM) Author: Willy Goiffon <dev@z3bra.org>
       Date:   Sun,  6 Sep 2020 19:35:40 +0200
       
       Refresh makefile and config.mk
       
       Diffstat:
         A config.mk                           |       9 +++++++++
         M makefile                            |       9 ++++++++-
       
       2 files changed, 17 insertions(+), 1 deletion(-)
       ---
 (DIR) diff --git a/config.mk b/config.mk
       t@@ -0,0 +1,9 @@
       +CC = cc
       +LD = ${CC}
       +
       +PREFIX = /usr/local
       +MANDIR = ${PREFIX}/man
       +
       +CPPFLAGS = -D_XOPEN_SOURCE -D_DEFAULT_SOURCE
       +CFLAGS   = -Wall -Wextra
       +LDFLAGS  =
 (DIR) diff --git a/makefile b/makefile
       t@@ -2,5 +2,12 @@ include config.mk
        
        scribo: scribo.o rfc5322.o
        
       +install: scribo
       +        mkdir -p ${DESTDIR}${PREFIX}/bin
       +        cp scribo ${DESTDIR}${PREFIX}/bin/scribo
       +
       +uninstall:
       +        rm ${DESTDIR}${PREFIX}/bin/scribo
       +
        clean:
       -        rm -f mailog *.o
       +        rm -f scribo *.o