From 523519528e2e78e300a5232da517329bc7d24f32 Mon Sep 17 00:00:00 2001 From: Georg Hopp Date: Wed, 28 Mar 2012 10:13:04 +0200 Subject: [PATCH] fix in Makefiles for tests --- tests/Makefile.am | 3 ++- tests/stream/Makefile | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/Makefile.am b/tests/Makefile.am index 6156972..18fb04c 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -63,7 +63,8 @@ EXTRA_DIST = runtest.h mock/mock_class.h mock/mock_logger.h stream: $(MAKE) -C stream $(AM_MAKEFLAGS) -check-build: stream (check_PROGRAMS) +$(check_PROGRAMS): stream +check-build: $(check_PROGRAMS) all-local: stream diff --git a/tests/stream/Makefile b/tests/stream/Makefile index 66a78a4..bdadc2c 100644 --- a/tests/stream/Makefile +++ b/tests/stream/Makefile @@ -7,7 +7,7 @@ OBJECTS = stream.o read.o write.o reader.o writer.o gcc -Wall -ggdb -O0 -fprofile-arcs -ftest-coverage -I ../../include -c $< -o $@ .PHONY: all clean check distclean check-build -all: +all: check-build check: check-build check-build: $(OBJECTS) distclean: clean