NightStrike wrote: > > The "check" target depends on the test programs, which in turn depend on > > their source code files. > > make check-TESTS should suffice to do the actual running of the tests, no?
No. The check-TESTS target depends on $(TESTS), which in turn depend on their respective source files. So running "make check-TESTS" unmodified will result in an error like: "*** no rule to make 'testcase.c', needed by 'testcase'. Stop." -- Björn