summaryrefslogtreecommitdiffstats
path: root/mqtt_websockets/c_rhash/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'mqtt_websockets/c_rhash/Makefile.am')
-rw-r--r--mqtt_websockets/c_rhash/Makefile.am21
1 files changed, 21 insertions, 0 deletions
diff --git a/mqtt_websockets/c_rhash/Makefile.am b/mqtt_websockets/c_rhash/Makefile.am
new file mode 100644
index 000000000..2fe5ebee8
--- /dev/null
+++ b/mqtt_websockets/c_rhash/Makefile.am
@@ -0,0 +1,21 @@
+crhash_includedir = -I$(abs_top_srcdir)/include
+
+dist_doc_DATA = LICENSE \
+ README.md \
+ $(NULL)
+
+CRHASH_FILES = src/c_rhash.c \
+ src/c_rhash.h \
+ $(NULL)
+
+lib_LIBRARIES = libcrhash.a
+
+libcrhash_a_SOURCES = $(CRHASH_FILES)
+
+libcrhash_a_CFLAGS = $(crhash_includedir)
+
+bin_PROGRAMS = test
+test_LDADD = libcrhash.a
+
+test_SOURCES = src/tests.c
+test_CFLAGS = $(crhash_includedir)