Suppose I have multiple rules for a target. For example, I have

all: file1.txt

all: file2.txt

....

all: filen.txt


Is there a way to get all the dependences (i.e., file1.txt ...
filen.txt) in gnu make? For example, to delete all the dependent
files.

clean:
  rm <all the dependent files of 'all'>


_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to