blob: 297bb38b4012f843cbda42c5846c56e5d8c2abd8 [file] [log] [blame]
# -*-perl-*-
$description = "The following tests rules without Commands or Dependencies.";
# 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.
touch('clean');
run_make_test(qq!
.IGNORE :
clean: FORCE ; $CMD_rmfile clean
FORCE:
!,
'', "$CMD_rmfile clean");
rmfiles('clean');
1;