Home | History | Annotate | Download | only in targets

Lines Matching full:makefile

1 $description = "The following test creates a makefile to override part\n"
2 ."of one Makefile with Another Makefile with the .DEFAULT\n"
7 ."in the containing makefile, make should look in another makefile\n"
8 ."This test gives this makefile the target bar which is not \n"
9 ."defined here but passes the target bar on to another makefile\n"
14 open(MAKEFILE,"> $makefile");
16 # The Contents of the MAKEFILE ...
18 print MAKEFILE "foo:\n";
19 print MAKEFILE "\t\@echo Executing rule FOO\n\n";
20 print MAKEFILE ".DEFAULT:\n";
21 print MAKEFILE "\t\@\$(MAKE) -f $makefile2 \$\@ \n";
23 # END of Contents of MAKEFILE
25 close(MAKEFILE);
28 open(MAKEFILE,"> $makefile2");
30 print MAKEFILE "bar:\n";
31 print MAKEFILE "\t\@echo Executing rule BAR\n\n";
33 close(MAKEFILE);
35 &run_make_with_options($makefile,'bar',&get_logfile);
37 # Create the answer to what should be produced by this Makefile