summaryrefslogblamecommitdiffstats
path: root/tests/Makefile.am
blob: d92a287bb85e3e1625caccb0d4e5f7d774fa2f1f (plain) (tree)




















                                                                                         
# Setup TAP
LOG_DRIVER = env AM_TAP_AWK='$(AWK)' $(SHELL) \
             $(top_srcdir)/build-aux/tap-driver.sh

TESTS = foodtest

EXTRA_DIST = maketests.sh \
	     foodtest.in \
             types.c \
             util.c 

check_PROGRAMS = foodtest

# foodtest_SOURCES = foodtest.c $(top_builddir)/src/parse.h
nodist_foodtest_SOURCES = foodtest.c
foodtest_CFLAGS = @CHECK_CFLAGS@ -lcheck

CLEANFILES = foodtest.c

foodtest.c: $(top_srcdir)/tests/foodtest.in $(top_srcdir)/tests/*.c
	$(top_srcdir)/tests/maketests.sh -i $(top_srcdir)/tests/foodtest.in -o foodtest.c