tGenerate config.h - ratox - FIFO based tox client
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 7f95d74a1e162eb60d8f29f38c513f4d53ac7721
 (DIR) parent e6e924374d49aa14e94a28d9b64a9f63bae2426d
 (HTM) Author: sin <sin@2f30.org>
       Date:   Mon, 22 Sep 2014 11:29:26 +0100
       
       Generate config.h
       
       Diffstat:
         M Makefile                            |       8 ++++++--
       
       1 file changed, 6 insertions(+), 2 deletions(-)
       ---
 (DIR) diff --git a/Makefile b/Makefile
       t@@ -3,7 +3,7 @@ include config.mk
        .POSIX:
        .SUFFIXES: .c .o
        
       -HDR = arg.h readpassphrase.h
       +HDR = arg.h config.h readpassphrase.h
        LIB = \
                readpassphrase.o
        SRC = \
       t@@ -20,7 +20,11 @@ binlib: util.a
        
        bin: $(BIN)
        
       -$(OBJ): readpassphrase.h config.mk
       +$(OBJ): $(HDR) config.mk
       +
       +config.h:
       +        @echo creating $@ from config.def.h
       +        @cp config.def.h $@
        
        .o:
                @echo LD $@