URI: 
       tSanitize 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 44ee3d650cfbd4e583dfac2f978ceb82d031f6c2
   DIR parent 89f765ac51ddda0d47d2124b36de1de2fc793864
  HTML Author: z3bra <willy@mailoo.org>
       Date:   Wed, 12 Feb 2014 13:36:53 +0100
       
       Sanitize makefile
       
       Diffstat:
         M Makefile                            |      21 +++++++--------------
         A config.mk                           |       9 +++++++++
       
       2 files changed, 16 insertions(+), 14 deletions(-)
       ---
   DIR diff --git a/Makefile b/Makefile
       t@@ -1,16 +1,7 @@
       -# BEGINNING OF THE FILE
       +include config.mk
        
       -# Compilation settings
       -CC=gcc
       -CFLAGS=-Wall -I inc --std=c99 -pedantic
       -LDFLAGS=
       -
       -# Command paths
       -RM=/bin/rm
       -
       -.SUFFIXE :
       -.SUFFIXES : .c .o .h
       -.PHONY : all list mrproper clean init
       +.SUFFIXES : .c .o
       +.PHONY : all list clean install uninstall
        
        .c.o:
                @echo -e "CC $<"
       t@@ -20,16 +11,18 @@ wendy : wendy.o
                @echo -e "LD wendy"
                @${CC} $^ -o $@ ${LDFLAGS}
        
       -all : init wendy
       +all : wendy
        
        clean :
                ${RM} wendy
                ${RM} -f *.o
                ${RM} -f *~
        
       +path:
       +        @echo PREFIX: ${PREFIX}
       +
        install :
                install -D -m0755 wendy ${DESTDIR}${PREFIX}/bin/wendy
        
        uninstall:
                ${RM} ${DESTDIR}${PREFIX}/bin/wendy
       -## EOF
   DIR diff --git a/config.mk b/config.mk
       t@@ -0,0 +1,9 @@
       +# paths
       +PREFIX = /usr
       +MANPREFIX = ${PREFIX}/man
       +
       +CC = cc
       +LD = ${CC}
       +RM = rm
       +CFLAGS  = -Wall -I inc --std=c99 -pedantic
       +LDFLAGS =