summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPieter Noordhuis <pcnoordhuis@gmail.com>2010-11-02 16:44:44 +0100
committerPieter Noordhuis <pcnoordhuis@gmail.com>2010-11-02 16:44:44 +0100
commitdd8a34de848d03171146d44a5a0790048e9d00d7 (patch)
treee3acbeb65c31365ec71c2fb205cf3e457b121e28 /Makefile
parentffa8666a647068f802eb784737ec533b6fc46115 (diff)
Move anet.{c,h} to net.{c,h}
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 25a599e..cb1fe22 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@
# Copyright (C) 2010 Salvatore Sanfilippo <antirez at gmail dot com>
# This file is released under the BSD license, see the COPYING file
-OBJ = anet.o hiredis.o sds.o async.o
+OBJ = net.o hiredis.o sds.o async.o
BINS = hiredis-example hiredis-test
uname_S := $(shell sh -c 'uname -s 2>/dev/null || echo not')
@@ -41,14 +41,15 @@ INSTALL= cp -a
all: ${DYLIBNAME} ${BINS}
# Deps (use make dep to generate this)
-anet.o: anet.c fmacros.h anet.h
+net.o: net.c fmacros.h net.h
async.o: async.c async.h hiredis.h sds.h util.h
example-libev.o: example-libev.c hiredis.h async.h adapters/libev.h
example-libevent.o: example-libevent.c hiredis.h async.h adapters/libevent.h
example.o: example.c hiredis.h
-hiredis.o: hiredis.c hiredis.h anet.h sds.h util.h
+hiredis.o: hiredis.c hiredis.h net.h sds.h util.h
sds.o: sds.c sds.h
test.o: test.c hiredis.h
+
${DYLIBNAME}: ${OBJ}
${DYLIB_MAKE_CMD}