test: Add Makefile.am to test/testprogs
[jansson.git] / test / testprogs / Makefile.am
diff --git a/test/testprogs/Makefile.am b/test/testprogs/Makefile.am
new file mode 100644 (file)
index 0000000..b7b7e91
--- /dev/null
@@ -0,0 +1,10 @@
+check_PROGRAMS = test_array test_number test_object
+
+test_array_SOURCES = test_array.c util.h
+test_number_SOURCES = test_number.c util.h
+test_object_SOURCES = test_number.c util.h
+
+AM_CPPFLAGS = -I$(top_srcdir)/src
+AM_CFLAGS = -Wall -Werror
+LDFLAGS = -static  # for speed and Valgrind
+LDADD = ../../src/libjansson.la