URI: 
       tCleanup makefile - 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 9a2882780b14d4b6118b2a34c2deaca37e3ee6a9
   DIR parent c5a2151645b501008a2b00beb46f35b403d63421
  HTML Author: z3bra <willyatmailoodotorg>
       Date:   Sun, 31 Jan 2016 16:06:52 +0100
       
       Cleanup makefile
       
       Diffstat:
         M Makefile                            |      24 +++++++++---------------
         M config.mk                           |      10 ++++------
       
       2 files changed, 13 insertions(+), 21 deletions(-)
       ---
   DIR diff --git a/Makefile b/Makefile
       t@@ -1,28 +1,22 @@
        include config.mk
        
       -.SUFFIXES : .c .o
       -.PHONY : all list clean install uninstall
       +.PHONY: clean install uninstall
        
       -.c.o:
       -        @echo -e "CC $<"
       -        @${CC} -c $< -o $@ ${CFLAGS}
       +wendy: wendy.o
        
       -wendy : wendy.o
       -        @echo -e "LD wendy"
       -        @${CC} $^ -o $@ ${LDFLAGS}
       +.c.o:
       +        $(CC) -c $(CFLAGS) $< -o $@
        
       -all : wendy
       +.o:
       +        $(LD) $(LDFLAGS) $< -o $@
        
        clean :
       -        ${RM} -f wendy *.o *~
       -
       -path:
       -        @echo PREFIX: ${PREFIX}
       +        rm -f wendy *.o
        
        install :
                install -D -m0755 wendy ${DESTDIR}${PREFIX}/bin/wendy
                install -D -m0644 wendy.1 ${DESTDIR}${MANPREFIX}/man1/wendy.1
        
        uninstall:
       -        ${RM} ${DESTDIR}${PREFIX}/bin/wendy
       -        ${RM} ${DESTDIR}${MANPREFIX}/man1/wendy.1
       +        rm -f ${DESTDIR}${PREFIX}/bin/wendy
       +        rm -f ${DESTDIR}${MANPREFIX}/man1/wendy.1
   DIR diff --git a/config.mk b/config.mk
       t@@ -1,9 +1,7 @@
       -# paths
       -PREFIX = /usr
       -MANPREFIX = ${PREFIX}/man
       -
        CC = cc
        LD = ${CC}
       -RM = rm
       -CFLAGS  = -Wall -I inc --std=c99 -pedantic
       +CFLAGS  = -Wall -Wextra -pedantic
        LDFLAGS = 
       +
       +PREFIX = /usr/local
       +MANPREFIX = ${PREFIX}/man