summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormichael-grunder <michael.grunder@gmail.com>2022-09-07 15:04:37 -0700
committerMichael Grunder <michael.grunder@gmail.com>2022-09-07 15:20:28 -0700
commitd756f68a59d694a91c1882c782161a023ea67766 (patch)
tree309e964b2b47c5f9c1aee199bba9ccb8bcadcfc4
parenta66916719b89f30c92afeb6e9ce5a4c3a4d4c552 (diff)
Add libhv example to our standard Makefile
See #904
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 6d7dd7c..b9783b7 100644
--- a/Makefile
+++ b/Makefile
@@ -180,6 +180,9 @@ hiredis-example-libevent-ssl: examples/example-libevent-ssl.c adapters/libevent.
hiredis-example-libev: examples/example-libev.c adapters/libev.h $(STLIBNAME)
$(CC) -o examples/$@ $(REAL_CFLAGS) -I. $< -lev $(STLIBNAME) $(REAL_LDFLAGS)
+hiredis-example-libhv: examples/example-libhv.c adapters/libhv.h $(STLIBNAME)
+ $(CC) -o examples/$@ $(REAL_CFLAGS) -I. $< -lhv $(STLIBNAME) $(REAL_LDFLAGS)
+
hiredis-example-glib: examples/example-glib.c adapters/glib.h $(STLIBNAME)
$(CC) -o examples/$@ $(REAL_CFLAGS) -I. $< $(shell pkg-config --cflags --libs glib-2.0) $(STLIBNAME) $(REAL_LDFLAGS)