/
niceSOFT
/
make
Обзор
Документация
Войти
/
niceSOFT
/
make
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
tests/scripts/targets/DEFAULT
29 строк
1 KB
Paul Smith
Refresh the test suite framework implementation.
16 сен 2019, 15:25
16 сен 2019, 15:25
414af96
Код
Авторство
О чём код?
# -*-perl-*- $description = "The following test creates a makefile to override part\n" ."of one Makefile with Another Makefile with the .DEFAULT\n" ."rule."; $details = "This tests the use of the .DEFAULT special target to say that \n" ."to remake any target that cannot be made fram the information\n" ."in the containing makefile, make should look in another makefile\n" ."This test gives this makefile the target bar which is not \n" ."defined here but passes the target bar on to another makefile\n" ."which does have the target bar defined.\n"; create_file('defsub.mk', q! bar: ; @echo Executing rule BAR !); run_make_test(q! foo:; @echo Executing rule FOO .DEFAULT: ; @$(MAKE) -f defsub.mk $@ !, 'bar',"#MAKE#[1]: Entering directory '#PWD#'\n" . "Executing rule BAR\n" . "#MAKE#[1]: Leaving directory '#PWD#'\n"); unlink('defsub.mk'); 1;