Changeset 284 in kBuild for branches/GNU/src/gmake/tests/scripts/targets/FORCE
- Timestamp:
- May 16, 2005 4:54:08 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GNU/src/gmake/tests/scripts/targets/FORCE
r53 r284 1 $description = "The following tests rules without Commands or Dependencies."; 1 $description = "The following tests rules without Commands or Dependencies."; 2 2 3 3 $details = "If the rule ...\n"; … … 18 18 print MAKEFILE ".IGNORE :\n"; 19 19 print MAKEFILE "clean: FORCE\n"; 20 print MAKEFILE "\t$delete_command clean\n"; 20 print MAKEFILE "\t$delete_command clean\n"; 21 21 print MAKEFILE "FORCE:\n"; 22 22 … … 27 27 28 28 # Create a file named "clean". This is the same name as the target clean 29 # and tricks the target into thinking that it is up to date. (Unless you 29 # and tricks the target into thinking that it is up to date. (Unless you 30 30 # use the .PHONY target. 31 31 &touch("clean"); … … 34 34 &run_make_with_options($makefile,"clean",&get_logfile); 35 35 36 &compare_output($answer,&get_logfile(1)); 36 &compare_output($answer,&get_logfile(1)); 37 37 38 if (-f $example)39 {40 $test_passed = 0;41 }42 43 38 1; 44 39
Note:
See TracChangeset
for help on using the changeset viewer.

