libevent/test/Makefile.am
Niels Provos d5009e8ad6 -g
svn:r55
2003-03-09 23:29:26 +00:00

49 lines
813 B
Makefile

AUTOMAKE_OPTIONS = foreign no-dependencies
LDADD = -L.. -levent
CPPFPLAGS = -I..
CFLAGS = -I../compat -g -Wall
noinst_PROGRAMS = test-eof test-weof test-time regress
test_eof_sources = test-eof.c
test_weof_sources = test-weof.c
test_time_sources = test-time.c
regress_sources = regress.c
DISTCLEANFILES = *~
all: test
test: $(noinst_PROGRAMS)
@echo "Running tests:"
@echo -n " test-eof: "
@if ./test-eof >/dev/null ; \
then \
echo OKAY ; \
else \
echo FAILED ; \
fi
@echo -n " test-weof: "
@if ./test-weof >/dev/null ; \
then \
echo OKAY ; \
else \
echo FAILED ; \
fi
@echo -n " test-time: "
@if ./test-time >/dev/null ; \
then \
echo OKAY ; \
else \
echo FAILED ; \
fi
@echo -n " regress: "
@if ./regress >/dev/null ; \
then \
echo OKAY ; \
else \
echo FAILED ; \
fi