Stepan Kasal wrote:
You need to create a phony target that does both; builds `test', creates `myfile', and perhaps runs it.What about something like: TESTS = my-test .PHONY: my-test check_PROGRAMS = test test_SOURCES = test.cpp my-test: test$(EXEEXT) myfile ./test -f myfile
This gives me ./my-test: command not found as automake seems to prepend every test with ./ (to make it be run by the shell).