diff --git a/tests/phpunit/Makefile b/tests/phpunit/Makefile index be366553..eabe3a1b 100644 --- a/tests/phpunit/Makefile +++ b/tests/phpunit/Makefile @@ -1,2 +1,10 @@ +ifndef MW_INSTALL_PATH + MW_INSTALL_PATH=../../.. +endif + default: - php ../../../tests/phpunit/phpunit.php . + php ${MW_INSTALL_PATH}/tests/phpunit/phpunit.php . + +.PHONY: *Test.php +*Test.php: + php ${MW_INSTALL_PATH}/tests/phpunit/phpunit.php $@