Use target-specific vars for debug target - gramscii - A simple editor for ASCII box-and-arrow charts
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) Tags
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 3ba178677800de55393f8ec80752ffe72660931a
 (DIR) parent c5e820787de73a668d848dd16649e685eb36c3dd
 (HTM) Author: KatolaZ <katolaz@freaknet.org>
       Date:   Fri,  9 Aug 2019 05:58:08 +0100
       
       Use target-specific vars for debug target
       
       Diffstat:
         M Makefile                            |       7 +++++--
       
       1 file changed, 5 insertions(+), 2 deletions(-)
       ---
 (DIR) diff --git a/Makefile b/Makefile
       @@ -8,6 +8,9 @@ INC = config.h gramscii.h arg.h
        OBJ = ${SRC:.c=.o}
        DISTFILES = ${SRC} ${INC} Makefile config.mk README.md Changelog
        
       +DEBUG = -O0 -Wall -pedantic -g -DDEBUG
       +
       +
        all: options gramscii
        
        options:
       @@ -23,8 +26,8 @@ gramscii: ${OBJ}
        
        ${OBJ}: ${INC}
        
       -debug: clean 
       -        ${MAKE} ${MAKEFILE} CFLAGS="-O0 -Wall -pedantic -g -DDEBUG=1"
       +debug: CFLAGS = ${DEBUG}
       +debug: clean all 
        
        clean:
                @echo cleaning