Skip to content

Commit 1b50cd8

Browse files
committed
DELETEME Add pubsubtest example to Makefile
1 parent 342cb92 commit 1b50cd8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Makefile

+4-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# This file is released under the BSD license, see the COPYING file
55

66
OBJ=alloc.o net.o hiredis.o sds.o async.o read.o sockcompat.o
7-
EXAMPLES=hiredis-example hiredis-example-libevent hiredis-example-libev hiredis-example-glib hiredis-example-push hiredis-example-poll
7+
EXAMPLES=hiredis-example hiredis-example-libevent hiredis-example-libevent-pubsubtest hiredis-example-libev hiredis-example-glib hiredis-example-push hiredis-example-poll
88
TESTS=hiredis-test
99
LIBNAME=libhiredis
1010
PKGCONFNAME=hiredis.pc
@@ -185,6 +185,9 @@ $(SSL_OBJ): ssl.c hiredis.h read.h sds.h alloc.h async.h win32.h async_private.h
185185
hiredis-example-libevent: examples/example-libevent.c adapters/libevent.h $(STLIBNAME)
186186
$(CC) -o examples/$@ $(REAL_CFLAGS) -I. $< -levent $(STLIBNAME) $(REAL_LDFLAGS)
187187

188+
hiredis-example-libevent-pubsubtest: examples/example-libevent-pubsubtest.c adapters/libevent.h $(STLIBNAME)
189+
$(CC) -o examples/$@ $(REAL_CFLAGS) -I. $< -levent $(STLIBNAME) $(REAL_LDFLAGS)
190+
188191
hiredis-example-libevent-ssl: examples/example-libevent-ssl.c adapters/libevent.h $(STLIBNAME) $(SSL_STLIBNAME)
189192
$(CC) -o examples/$@ $(REAL_CFLAGS) -I. $< -levent $(STLIBNAME) $(SSL_STLIBNAME) $(REAL_LDFLAGS) $(SSL_LDFLAGS)
190193

0 commit comments

Comments
 (0)