URI: 
       tAdd mkfile for compilation with plan9 mk - wendy - watch files/directories and run commands on any event
  HTML git clone git://z3bra.org/wendy
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
   DIR commit c94f1359dea6f5e56f9e1347678763e9d89b6a08
   DIR parent 8ef956bb297a809a41991b3cac517f8010483985
  HTML Author: Willy Goiffon <dev@z3bra.org>
       Date:   Tue,  2 Jun 2020 13:20:56 +0200
       
       Add mkfile for compilation with plan9 mk
       
       Diffstat:
         M config.mk                           |       9 ++++++---
         A mkfile                              |      21 +++++++++++++++++++++
       
       2 files changed, 27 insertions(+), 3 deletions(-)
       ---
   DIR diff --git a/config.mk b/config.mk
       t@@ -1,7 +1,10 @@
        CC = cc
       -LD = $(CC)
       -CFLAGS  =
       -LDFLAGS = 
       +LD = ${CC}
        
        PREFIX = /usr/local
        MANPREFIX = ${PREFIX}/man
       +
       +CPPFLAGS =
       +CFLAGS  = -Wall -Wextra -pedantic
       +LDFLAGS = 
       +LIBS =
   DIR diff --git a/mkfile b/mkfile
       t@@ -0,0 +1,21 @@
       +<config.mk
       +
       +wendy: wendy.o
       +        ${LD} $prereq ${LDFLAGS} ${LIBS} -o $target
       +
       +wendy.o: wendy.c
       +        ${CC} -c -o $target $prereq ${CPPFLAGS} ${CFLAGS}
       +
       +clean:V:
       +        rm -f wendy *.o
       +
       +install:V: wendy wendy.1
       +        mkdir -p ${DESTDIR}${PREFIX}/bin
       +        mkdir -p ${DESTDIR}${MANPREFIX}/man1
       +        cp wendy ${DESTDIR}${PREFIX}/bin/wendy
       +        cp wendy.1 ${DESTDIR}${MANPREFIX}/man1/
       +        chmod 755 ${DESTDIR}${PREFIX}/bin/wendy
       +
       +uninstall:V:
       +        rm ${DESTDIR}${PREFIX}/bin/wendy
       +        rm ${DESTDIR}${MANPREFIX}/man1/wendy.1