AM_CFLAGS += -I$(abs_top_srcdir)/src/include -g -ggdb -O0 TEST_LDADD = $(abs_top_builddir)/libblade.la -lconfig -lm -lpthread check_PROGRAMS = check_PROGRAMS += testbuild testbuild_SOURCES = testbuild.c tap.c testbuild_CFLAGS = $(AM_CFLAGS) testbuild_LDADD = $(TEST_LDADD) check_PROGRAMS += bladec bladec_SOURCES = bladec.c tap.c bladec_CFLAGS = $(AM_CFLAGS) bladec_LDADD = $(TEST_LDADD) check_PROGRAMS += blades blades_SOURCES = blades.c tap.c blades_CFLAGS = $(AM_CFLAGS) blades_LDADD = $(TEST_LDADD) TESTS=$(check_PROGRAMS) tests: $(check_PROGRAMS)