diff options
author | Michael Grunder <michael.grunder@gmail.com> | 2022-07-07 11:43:19 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-07 11:43:19 -0700 |
commit | eaa2a7ee77f4ce25e73a23e6030d4fa4d138cb11 (patch) | |
tree | dbe10904e10917976524cd1b06a182bd49890ffd /Makefile | |
parent | 8a15f4d6578560f2a375c32fc567c4c88335c2a8 (diff) | |
parent | 2ccef30f3e00603c6e392502e1f910a95d6cb24a (diff) | |
download | hiredict-eaa2a7ee77f4ce25e73a23e6030d4fa4d138cb11.tar.xz |
Merge pull request #932 from kristjanvalur/pr3
Polling adapter and example
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -4,7 +4,7 @@ # This file is released under the BSD license, see the COPYING file OBJ=alloc.o net.o hiredis.o sds.o async.o read.o sockcompat.o -EXAMPLES=hiredis-example hiredis-example-libevent hiredis-example-libev hiredis-example-glib hiredis-example-push +EXAMPLES=hiredis-example hiredis-example-libevent hiredis-example-libev hiredis-example-glib hiredis-example-push hiredis-example-poll TESTS=hiredis-test LIBNAME=libhiredis PKGCONFNAME=hiredis.pc @@ -192,6 +192,9 @@ hiredis-example-macosx: examples/example-macosx.c adapters/macosx.h $(STLIBNAME) hiredis-example-ssl: examples/example-ssl.c $(STLIBNAME) $(SSL_STLIBNAME) $(CC) -o examples/$@ $(REAL_CFLAGS) -I. $< $(STLIBNAME) $(SSL_STLIBNAME) $(REAL_LDFLAGS) $(SSL_LDFLAGS) +hiredis-example-poll: examples/example-poll.c adapters/poll.h $(STLIBNAME) + $(CC) -o examples/$@ $(REAL_CFLAGS) -I. $< $(STLIBNAME) $(REAL_LDFLAGS) + ifndef AE_DIR hiredis-example-ae: @echo "Please specify AE_DIR (e.g. <redis repository>/src)" |