Imported Upstream version 4.3
[platform/upstream/make.git] / tests / scripts / targets / FORCE
1 #                                                                    -*-perl-*-
2
3 $description = "The following tests rules without Commands or Dependencies.";
4
5 # Create a file named "clean".  This is the same name as the target clean
6 # and tricks the target into thinking that it is up to date.  (Unless you
7 # use the .PHONY target.
8 touch('clean');
9
10 run_make_test(qq!
11 .IGNORE :
12 clean: FORCE ; $CMD_rmfile clean
13 FORCE:
14 !,
15               '', "$CMD_rmfile clean");
16
17 rmfiles('clean');
18
19 1;