2005-12-13 14:44:17 +00:00
|
|
|
# -*-perl-*-
|
|
|
|
|
2004-05-16 19:16:52 +00:00
|
|
|
$description = "The following tests rules without Commands or Dependencies.";
|
1999-09-14 02:03:19 +00:00
|
|
|
|
|
|
|
# Create a file named "clean". This is the same name as the target clean
|
2004-05-16 19:16:52 +00:00
|
|
|
# and tricks the target into thinking that it is up to date. (Unless you
|
1999-09-14 02:03:19 +00:00
|
|
|
# use the .PHONY target.
|
2016-12-23 18:33:58 +00:00
|
|
|
touch('clean');
|
1999-09-14 02:03:19 +00:00
|
|
|
|
2016-12-23 18:33:58 +00:00
|
|
|
run_make_test(qq!
|
|
|
|
.IGNORE :
|
|
|
|
clean: FORCE ; $CMD_rmfile clean
|
|
|
|
FORCE:
|
|
|
|
!,
|
|
|
|
'', "$CMD_rmfile clean");
|
1999-09-14 02:03:19 +00:00
|
|
|
|
2016-12-23 18:33:58 +00:00
|
|
|
rmfiles('clean');
|
1999-09-14 02:03:19 +00:00
|
|
|
|
|
|
|
1;
|