blob: 90ee48d66e2f0faec2637a0e0641f35f58015093 [file] [log] [blame]
$description = "The following tests rules without Commands or Dependencies.";
$details = "If the rule ...\n";
if ($vos)
$delete_command = "delete_file";
$delete_command = "rm";
open(MAKEFILE,"> $makefile");
# The Contents of the MAKEFILE ...
print MAKEFILE ".IGNORE :\n";
print MAKEFILE "clean: FORCE\n";
print MAKEFILE "\t$delete_command clean\n";
print MAKEFILE "FORCE:\n";
# END of Contents of MAKEFILE
# Create a file named "clean". This is the same name as the target clean
# and tricks the target into thinking that it is up to date. (Unless you
# use the .PHONY target.
$answer = "$delete_command clean\n";
if (-f $example)
$test_passed = 0;