-AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/tests/
+AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/tests/utils
-noinst_PROGRAMS = prog
-prog_SOURCES = prog.c
-prog_LDADD = $(top_builddir)/snprintf/libustsnprintf.la \
- $(top_builddir)/tests/libtap.a
-
-noinst_SCRIPT = run
-EXTRA_DIST = run
+noinst_PROGRAMS = test_snprintf
+test_snprintf_SOURCES = snprintf.c
+test_snprintf_LDADD = $(top_builddir)/snprintf/libustsnprintf.la \
+ $(top_builddir)/tests/utils/libtap.a