tCompile against local toxcore submodule - ratox - FIFO based tox client
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit a1d2b63e6af32685f5828c302a0d3edeeb48090f
 (DIR) parent 6ab4139a1aa0a49ac8fa08429fcf929405f43df6
 (HTM) Author: z3bra <contactatz3bradotorg>
       Date:   Mon, 31 Oct 2016 21:25:10 +0100
       
       Compile against local toxcore submodule
       
       Diffstat:
         M Makefile                            |       7 ++++++-
         M config.mk                           |       8 +++++---
         M ratox.c                             |       6 +++---
       
       3 files changed, 14 insertions(+), 7 deletions(-)
       ---
 (DIR) diff --git a/Makefile b/Makefile
       t@@ -3,10 +3,13 @@ include config.mk
        .POSIX:
        .SUFFIXES: .c .o
        
       +TOXSRC = $(shell find toxcore/toxcore toxcore/toxav toxcore/toxencryptsave -name '*.c')
       +
        HDR = arg.h config.h readpassphrase.h util.h
        LIB = \
                eprintf.o \
       -        readpassphrase.o
       +        readpassphrase.o \
       +        $(TOXSRC:.c=.o)
        SRC = \
                ratox.c
        
       t@@ -21,6 +24,8 @@ binlib: util.a
        
        bin: $(BIN)
        
       +$(BIN): util.a $(OBJ)
       +
        $(OBJ): $(HDR) config.mk
        
        config.h:
 (DIR) diff --git a/config.mk b/config.mk
       t@@ -5,8 +5,10 @@ VERSION = 0.2.1
        PREFIX = /usr/local
        MANPREFIX = $(PREFIX)/share/man
        
       +TOX_CFLAGS = -I./toxcore/toxcore -I./toxcore/toxav -I./toxcore/toxencryptsave -I/usr/include/opus
       +
        CC = cc
        LD = $(CC)
       -CPPFLAGS = -DVERSION=\"${VERSION}\"
       -CFLAGS   = -g -I/usr/local/include -Wall -Wunused $(CPPFLAGS)
       -LDFLAGS  = -g -L/usr/local/lib -ltoxcore -ltoxav -ltoxencryptsave
       +CPPFLAGS = -DVERSION=\"${VERSION}\" $(TOX_CFLAGS)
       +CFLAGS   = -g -Wall -Wunused $(CPPFLAGS)
       +LDFLAGS  = -g -lopus -lvpx -lpthread -lsodium
 (DIR) diff --git a/ratox.c b/ratox.c
       t@@ -17,9 +17,9 @@
        #include <time.h>
        #include <unistd.h>
        
       -#include <tox/tox.h>
       -#include <tox/toxav.h>
       -#include <tox/toxencryptsave.h>
       +#include "tox.h"
       +#include "toxav.h"
       +#include "toxencryptsave.h"
        
        #include "arg.h"
        #include "queue.h"