summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authortzickel <private@com>2014-06-29 23:38:05 +0300
committerMatt Stancliff <matt@genges.com>2015-01-05 16:53:22 -0500
commitba3e74c40888fe773290fda2561fdae5d5bb53c7 (patch)
tree6b061a21f516c89c01a4e6531d8bfbd6c37f649c /Makefile
parent0cacb485feeb5318bd09b013833ca6e9026a5cc0 (diff)
Refactor reading code into read.c
Makes hiredis reading functions easier to include in external projects [fixed all merge conflicts against current version] Closes #249
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 09a6ef5..4133c9b 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@
# Copyright (C) 2010-2011 Pieter Noordhuis <pcnoordhuis at gmail dot com>
# This file is released under the BSD license, see the COPYING file
-OBJ=net.o hiredis.o sds.o async.o
+OBJ=net.o hiredis.o sds.o async.o read.o
EXAMPLES=hiredis-example hiredis-example-libevent hiredis-example-libev hiredis-example-glib
TESTS=hiredis-test
LIBNAME=libhiredis
@@ -59,6 +59,7 @@ all: $(DYLIBNAME)
# Deps (use make dep to generate this)
net.o: net.c fmacros.h net.h hiredis.h
async.o: async.c async.h hiredis.h sds.h dict.c dict.h
+read.o: read.c read.h
hiredis.o: hiredis.c fmacros.h hiredis.h net.h sds.h
sds.o: sds.c sds.h
test.o: test.c hiredis.h