test: Add Makefile.am to test/testprogs
This way it's an individual subdirectory and things go easier.
This commit is contained in:
parent
6e17271fa9
commit
bf0d383961
@ -23,5 +23,6 @@ AC_CONFIG_FILES([
|
||||
doc/Makefile
|
||||
src/Makefile
|
||||
test/Makefile
|
||||
test/testprogs/Makefile
|
||||
])
|
||||
AC_OUTPUT
|
||||
|
@ -1,6 +1,6 @@
|
||||
check_PROGRAMS = \
|
||||
loadf_dumpf loads_dumps load_file_dump_file \
|
||||
testprogs/test_array testprogs/test_number testprogs/test_object
|
||||
SUBDIRS = testprogs
|
||||
|
||||
check_PROGRAMS = loadf_dumpf loads_dumps load_file_dump_file
|
||||
|
||||
AM_CPPFLAGS = -I$(top_srcdir)/src
|
||||
AM_CFLAGS = -Wall -Werror
|
||||
|
10
test/testprogs/Makefile.am
Normal file
10
test/testprogs/Makefile.am
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user