Lines Matching full:makefile
1 $description = "The following test creates a makefile to test the \n"
15 open(MAKEFILE,"> $makefile");
17 # The Contents of the MAKEFILE ...
19 print MAKEFILE "vpath %.c foo\n";
20 print MAKEFILE "vpath %.c $workdir\n";
21 print MAKEFILE "vpath %.h $workdir\n";
22 print MAKEFILE "objects = main.o kbd.o commands.o display.o insert.o\n";
23 print MAKEFILE "edit: \$(objects)\n";
24 print MAKEFILE "\t\@echo cc -o \$@ \$^\n";
25 print MAKEFILE "main.o : main.c defs.h\n";
26 print MAKEFILE "\t\@echo cc -c \$(firstword \$^)\n";
27 print MAKEFILE "kbd.o : kbd.c defs.h command.h\n";
28 print MAKEFILE "\t\@echo cc -c kbd.c\n";
29 print MAKEFILE "commands.o : command.c defs.h command.h\n";
30 print MAKEFILE "\t\@echo cc -c commands.c\n";
31 print MAKEFILE "display.o : display.c defs.h buffer.h\n";
32 print MAKEFILE "\t\@echo cc -c display.c\n";
33 print MAKEFILE "insert.o : insert.c defs.h buffer.h\n";
34 print MAKEFILE "\t\@echo cc -c insert.c\n";
36 # END of Contents of MAKEFILE
38 close(MAKEFILE);
49 &run_make_with_options($makefile,"",&get_logfile);
51 # Create the answer to what should be produced by this Makefile