Changeset 284 in kBuild for branches/GNU/src/gmake/tests/scripts/targets/PHONY
- 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/PHONY
r53 r284 28 28 print MAKEFILE "\t\@echo This makefile did not clean the dir ... good\n"; 29 29 print MAKEFILE "clean: \n"; 30 print MAKEFILE "\t$delete_command $example clean\n"; 30 print MAKEFILE "\t$delete_command $example clean\n"; 31 31 32 32 # END of Contents of MAKEFILE … … 37 37 38 38 # Create a file named "clean". This is the same name as the target clean 39 # and tricks the target into thinking that it is up to date. (Unless you 39 # and tricks the target into thinking that it is up to date. (Unless you 40 40 # use the .PHONY target. 41 41 &touch("clean"); … … 44 44 &run_make_with_options($makefile,"clean",&get_logfile); 45 45 46 &compare_output($answer,&get_logfile(1)); 46 if (-f $example) { 47 $test_passed = 0; 48 } 47 49 48 if (-f $example) 49 { 50 $test_passed = 0; 51 } 52 50 &compare_output($answer,&get_logfile(1)); 51 53 52 1; 54 53
Note:
See TracChangeset
for help on using the changeset viewer.

