diff --git a/Makefile.am b/Makefile.am index e9a2b95..97f2afd 100644 --- a/Makefile.am +++ b/Makefile.am @@ -10,7 +10,7 @@ myexecutable_CFLAGS = #--std=c11 # CFLAGS applicable to myexecutable_SOURCES # Tests # 'check' comes from 'make check' -check_PROGRAMS = testsuite # will generate and run testsuite exec +test_programs = testsuite testsuite_SOURCES = tests/test.c @@ -22,5 +22,4 @@ testsuite_SOURCES = tests/test.c testsuite_CFLAGS = $(DEPS_CFLAGS) # DEPS_* are filled by PKG_CHECK_MODULES testsuite_LDADD = $(DEPS_LIBS) # in configure.ac -TESTS = testsuite # https://www.gnu.org/software/automake/manual/html_node/Scripts_002dbased-Testsuites.html#Scripts_002dbased-Testsuites